| Package | Description |
|---|---|
| com.comtrade.ecm.engine.business.exceptions | |
| com.comtrade.ecm.engine.exceptions |
Exceptions used in other parts of a library (or in applications that use this library).
EcmException is an exception that should be used as a base for all other library-specific exceptions.It should be used in throws-clauses of library-methods whenever such an exception can be propagated to a front-end level. EcmSimpleException should be used as a base class for creation of other specific exceptions.EcmMultipleException should be created whenever a method wishes to throw several EcmSimpleExceptions. |
| com.comtrade.ecm.engine.logging |
Basic logging objects
|
| com.comtrade.ecm.engine.objects |
Library-specific classes and interfaces that define independent objects, later to be used in more complex structures.
|
| Constructor and Description |
|---|
NonNullableException(EcmMessagePart message) |
| Modifier and Type | Method and Description |
|---|---|
void |
EcmSimpleException.addMessages(EcmMessagePart... messageParts)
Adds a collection of
EcmMessagePart-objects |
void |
EcmSimpleException.setMessages(EcmMessagePart... messageParts)
Sets a collection of
EcmMessagePart-objects |
| Constructor and Description |
|---|
EcmSimpleException(EcmMessagePart... messages)
Creates an exception with following submessages :
- exception's class simple name - all the EcmMessagePart-objects transfered as a parameter |
NonPermittedNullParameterException(EcmMessagePart columnName) |
| Constructor and Description |
|---|
EcmSimpleException(java.util.Collection<EcmMessagePart> messages)
Creates an exception with following submessages :
- exception's class simple name - all the EcmMessagePart-objects transfered as a parameter |
| Constructor and Description |
|---|
LoggingException(EcmMessagePart message) |
| Modifier and Type | Method and Description |
|---|---|
static EcmMessagePart |
EcmMessagePart.localized(java.io.Serializable content)
Creates a message that should (if possible) be localized
|
static EcmMessagePart |
EcmMessagePart.unlocalized(java.io.Serializable content)
Creates a message that should not be localized
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<EcmMessagePart> |
EcmMessage.getMessages() |
| Modifier and Type | Method and Description |
|---|---|
void |
EcmMessage.addMessages(EcmMessagePart... messageParts)
|
void |
EcmMessage.setMessages(EcmMessagePart... messageParts)
Sets a collection of
EcmMessagePart-objects |