## Uses of Class
com.comtrade.ecm.engine.objects.EcmMessagePart

- Packages that use EcmMessagePart
  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 `EcmSimpleException`s.
  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.

- - ### Uses of EcmMessagePart in com.comtrade.ecm.engine.business.exceptions

    Constructors in com.comtrade.ecm.engine.business.exceptions with parameters of type EcmMessagePart
    Constructor and Description
    `NonNullableException(EcmMessagePart message)`

  - ### Uses of EcmMessagePart in com.comtrade.ecm.engine.exceptions

    Methods in com.comtrade.ecm.engine.exceptions with parameters of type EcmMessagePart
    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

    Constructors in com.comtrade.ecm.engine.exceptions with parameters of type EcmMessagePart
    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 parameters in com.comtrade.ecm.engine.exceptions with type arguments of type EcmMessagePart
    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

  - ### Uses of EcmMessagePart in com.comtrade.ecm.engine.logging

    Constructors in com.comtrade.ecm.engine.logging with parameters of type EcmMessagePart
    Constructor and Description
    `LoggingException(EcmMessagePart message)`

  - ### Uses of EcmMessagePart in com.comtrade.ecm.engine.objects

    Methods in com.comtrade.ecm.engine.objects that return EcmMessagePart
    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

    Methods in com.comtrade.ecm.engine.objects that return types with arguments of type EcmMessagePart
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<EcmMessagePart>` | EcmMessage.`getMessages()`

    Methods in com.comtrade.ecm.engine.objects with parameters of type EcmMessagePart
    Modifier and Type | Method and Description
    --- | ---
    `void` | EcmMessage.`addMessages(EcmMessagePart... messageParts)` Adds a collection of `EcmMessagePart`-objects. Skips `null` messages.
    `void` | EcmMessage.`setMessages(EcmMessagePart... messageParts)` Sets a collection of `EcmMessagePart`-objects