public class OrgModelException
extends java.lang.RuntimeException
OrgModelException can be thrown for various reasons by
ModelExplorer and ModelChangeOperations, ranging from trying
to use deactivated entity types to trying to access attributes that don't
exist.
The OrgModelException is a runtime exception because it's
generally possible to avoid all of them with careful programming. In
cases where the model is modified while others are (read) accessing it,
OrgModelExceptions might be thrown anyway. So it should be
considered to catch them in any case, just to be sure.
| Constructor and Description |
|---|
OrgModelException()
Constructs a new
OrgModelException with null. |
OrgModelException(java.lang.String message)
Constructs a new
OrgModelException with the given detail
message. |
OrgModelException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new
OrgModelException with null. |
OrgModelException(java.lang.Throwable cause)
Constructs a new
DataSourceException with null
as detail message and the given cause. |
public OrgModelException()
OrgModelException with null.
as detail message.public OrgModelException(java.lang.String message)
OrgModelException with the given detail
message.message - the detail messagepublic OrgModelException(java.lang.String message,
java.lang.Throwable cause)
OrgModelException with null.
as detail message and the given cause.message - the detail messagecause - the cause of this exceptionpublic OrgModelException(java.lang.Throwable cause)
DataSourceException with null
as detail message and the given cause.cause - the cause of this exception