Package org.jetbrains.mps.openapi.model
Interface SModel.Problem
- 
- Enclosing interface:
- SModel
 
 public static interface SModel.ProblemRepresents a problem with the persistence.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classSModel.Problem.Kind
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumn()SModel.Problem.KindgetKind()Returns whether it was a save or load problem.intgetLine()StringgetLocation()When line and column are available, returns the location of the stream, where the problem occurred, or just plain text description of the location otherwise.SNodegetNode()The incomplete node (when available) for load problems, or a node which caused troubles during save operation.StringgetText()booleanisError()Errors usually cause model to be partially loaded, so it cannot be saved back to the storage later.
 
- 
- 
- 
Method Detail- 
getKindSModel.Problem.Kind getKind() Returns whether it was a save or load problem. Save problems can arise when an AST content doesn't fit into the persistence format.
 - 
getLocationString getLocation() When line and column are available, returns the location of the stream, where the problem occurred, or just plain text description of the location otherwise.
 - 
getColumnint getColumn() 
 - 
getLineint getLine() 
 - 
getTextString getText() 
 - 
isErrorboolean isError() Errors usually cause model to be partially loaded, so it cannot be saved back to the storage later.
 - 
getNodeSNode getNode() The incomplete node (when available) for load problems, or a node which caused troubles during save operation.
 
- 
 
-