Class ModelSaveException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- org.jetbrains.mps.openapi.persistence.ModelSaveException
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class ModelSaveException extends Exception The exception is thrown when AST content doesn't fit into the persistence format. For example: empty lists or properties, errors in associativity or unsupported concepts.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ModelSaveException(String message, Iterable<SModel.Problem> problems)ModelSaveException(String message, Iterable<SModel.Problem> problems, Throwable cause)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<SModel.Problem>getProblems()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ModelSaveExceptionpublic ModelSaveException(String message, @NotNull Iterable<SModel.Problem> problems) 
 - 
ModelSaveExceptionpublic ModelSaveException(String message, @NotNull Iterable<SModel.Problem> problems, Throwable cause) 
 
- 
 - 
Method Detail- 
getProblems@NotNull public Iterable<SModel.Problem> getProblems() 
 
- 
 
-