Class ModelCreationException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- org.jetbrains.mps.openapi.persistence.ModelCreationException
 
 
 
 
- 
- All Implemented Interfaces:
 Serializable
public final class ModelCreationException 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 Summary
Constructors Constructor Description ModelCreationException(String message, List<SModel.Problem> problems)ModelCreationException(String message, List<SModel.Problem> problems, Throwable cause) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SModel.Problem>getProblems()- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ModelCreationException
public ModelCreationException(String message, @NotNull List<SModel.Problem> problems)
 
- 
ModelCreationException
public ModelCreationException(String message, @NotNull List<SModel.Problem> problems, Throwable cause)
 
 - 
 
- 
Method Detail
- 
getProblems
@NotNull public List<SModel.Problem> getProblems()
 
 - 
 
 -