Interface ErrorCodeAccessor.ErrorCodeMutator

  • All Known Subinterfaces:
    Enclosing interface:

    public static interface ErrorCodeAccessor.ErrorCodeMutator
    Provides a mutator for an error code property. An exception code can be provided when creating an exception and it can be used by the business logic to retrieve a language depended exception message (multi-language support) from a language pack instead of just providing the single language message as being stored by the default exceptions.
    • Method Detail

      • setErrorCode

        void setErrorCode​(java.lang.String aErrorCode)
        Sets the according exception code. See ErrorCodeAccessor.getErrorCode().
        aErrorCode - The exception code in question.