# Package 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 `EcmSimpleException`s.

See: Description

- Class Summary
  Class | Description
  --- | ---
  TestEcmMultipleException |

- Exception Summary
  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 `EcmSimpleException`s 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.

## Package com.comtrade.ecm.engine.exceptions Description

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 `EcmSimpleException`s.