|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.pajes.db.entity.EntityException
Thrown when a run-time exception relating to Entity processing occurs.
| Field Summary | |
static java.lang.String |
CLASS_CAST_EXCEPTION
Message key for when an Manager attempts to create a new Entity instance, and fails with a ClassCastException. |
static java.lang.String |
CREATE_FAILURE
Message key for when an Manager fails to create a new Entity instance. |
static java.lang.String |
ENTITY_EDITOR_CREATE_FAILURE
Message key for when a Manager sub-class fails to instantiate its default Editor. |
static java.lang.String |
ENTITY_EDITOR_NOT_DEFINED
Message key for when an MaintenanceServlet sub-class fails to
initialise its Editor instance. |
static java.lang.String |
ENTITY_LISTER_CREATE_FAILURE
Message key for when a Manager sub-class fails to instantiate its default Lister. |
static java.lang.String |
ENTITY_LISTER_NOT_DEFINED
Message key for when an MaintenanceServlet sub-class fails to
initialise its Lister instance. |
static java.lang.String |
ENTITY_VIEWER_CREATE_FAILURE
Message key for when a Manager sub-class fails to instantiate its default Viewer. |
static java.lang.String |
ENTITY_VIEWER_NOT_DEFINED
Message key for when an MaintenanceServlet sub-class fails to
initialise its Viewer instance. |
static java.lang.String |
ILLEGAL_MANAGER_SUB_CLASS
Message key for when the Registry attempts to register an Manager instance that is not a sub-class of the class specified as the super-class of all Managers in the Registry. |
static java.lang.String |
MANAGER_ALREADY_EXISTS
Message key for when the Registry attempts to register an Manager instance when one already exists for that class. |
static java.lang.String |
MANAGER_CREATE_FAILURE
Message key for when the Registry fails to create a new Manager instance. |
static java.lang.String |
MISSING_PROTOTYPE_ROW
Message key for when an Manager is attempting to produce a list
of Entity objects, but a prototype row is missing from the template list
table. |
static java.lang.String |
MULTIPLE_REQUEST_VALUES
Message key for when an Entity finds multiple values with the
same column name in the request object. |
static java.lang.String |
NO_DEFAULT_POOL
Message key for when the Registry has been asked for an Manager that has not yet been registered, and no default ConnectionPool has been defined to allow
automatic registration. |
static java.lang.String |
NO_IN_CLAUSE_VALUES
Message key for when the Scope has been asked to create an IN
clause with an empty array of values. |
static java.lang.String |
PARSE_EXCEPTION
Message key for when an Entity encounters a Exception when
assigning a value to an EntityAtribute. |
static java.lang.String |
READ_ONLY
Message key for when an attempt is made to update, delete or insert an Entity that is managed by a read-only Manager. |
| Constructor Summary | |
EntityException(java.lang.String messageKey)
Creates a new exception, using the specified message key to locate the actual message to be displayed. |
|
EntityException(java.lang.String messageKey,
java.lang.String[] arguments)
Creates a new exception, using the specified message key to locate the actual message to be displayed. |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String CLASS_CAST_EXCEPTION
Manager attempts to create a new Entity instance, and fails with a ClassCastException.
public static final java.lang.String CREATE_FAILURE
Manager fails to create a new Entity instance.
public static final java.lang.String ENTITY_EDITOR_CREATE_FAILURE
public static final java.lang.String ENTITY_EDITOR_NOT_DEFINED
MaintenanceServlet sub-class fails to
initialise its Editor instance.
public static final java.lang.String ENTITY_LISTER_CREATE_FAILURE
public static final java.lang.String ENTITY_LISTER_NOT_DEFINED
MaintenanceServlet sub-class fails to
initialise its Lister instance.
public static final java.lang.String ENTITY_VIEWER_CREATE_FAILURE
public static final java.lang.String ENTITY_VIEWER_NOT_DEFINED
MaintenanceServlet sub-class fails to
initialise its Viewer instance.
public static final java.lang.String ILLEGAL_MANAGER_SUB_CLASS
public static final java.lang.String MANAGER_ALREADY_EXISTS
Registry attempts to register an Manager instance when one already exists for that class.
public static final java.lang.String MANAGER_CREATE_FAILURE
Registry fails to create a new Manager instance.
public static final java.lang.String MISSING_PROTOTYPE_ROW
Manager is attempting to produce a list
of Entity objects, but a prototype row is missing from the template list
table.
public static final java.lang.String MULTIPLE_REQUEST_VALUES
Entity finds multiple values with the
same column name in the request object.
public static final java.lang.String NO_DEFAULT_POOL
Registry has been asked for an Manager that has not yet been registered, and no default ConnectionPool has been defined to allow
automatic registration.
public static final java.lang.String NO_IN_CLAUSE_VALUES
Scope has been asked to create an IN
clause with an empty array of values.
public static final java.lang.String PARSE_EXCEPTION
Entity encounters a Exception when
assigning a value to an EntityAtribute.
public static final java.lang.String READ_ONLY
Entity that is managed by a read-only Manager.
| Constructor Detail |
public EntityException(java.lang.String messageKey)
messageKey - the key from which the actual exception message will be
located.
public EntityException(java.lang.String messageKey,
java.lang.String[] arguments)
messageKey - the key from which the actual exception message will be
located.arguments - any arguments to be passed to create the complete message.
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||