EcmException is an exception that should be used as a base for all other library-specific exceptions.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.See: Description
| Class | Description |
|---|---|
| TestEcmMultipleException |
| Exception | Description |
|---|---|
| EcmException |
Basis for other library-specific exceptions.
If a library (or application) method could throw an exception which will be propagated to a front-end, then it should inherit this exception. |
| EcmMultipleException |
An object that represents an ordered collection of
EcmSimpleException-objects.Sometimes, as a result of some method's work, we do not get only one exception, but a collection of them. |
| EcmSimpleException |
An exception that can be thrown from library method(s).
All EcmSimpleExceptions have a collection of EcmMessagePart-objects, i.e., messages that COULD be localized (if said so).The aim is to enable an automated transformation from an EcmExtension to a "front-end message" (a message that can be presented to a user). |
| NonPermittedNullParameterException |
Exception that occurs when some argument (to a method) is
nulled, but such situation is not permitted.This exception is functionally equal to IllegalArgumentException (if an argument is null/empty/blank/zeroed). |
| UnsupportedOperationException | |
| ValidationException |
Exception that occurs when some validation is not fulfilled.
|
EcmException is an exception that should be used as a base for all other library-specific exceptions.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.