Class ErrorCode

java.lang.Object
it.pagopa.swclient.mil.ErrorCode

public final class ErrorCode extends Object

Error codes.

Author:
Antonio Tarricone
  • Field Details

    • MODULE_ID

      public static final String MODULE_ID

      Error code prefix.

      See Also:
    • REQUEST_ID_MUST_NOT_BE_NULL

      public static final String REQUEST_ID_MUST_NOT_BE_NULL

      Error code for "RequestId must not be null".

      See Also:
    • REQUEST_ID_MUST_MATCH_REGEXP

      public static final String REQUEST_ID_MUST_MATCH_REGEXP

      Error code for "RequestId must match regexp".

      See Also:
    • VERSION_MUST_MATCH_REGEXP

      public static final String VERSION_MUST_MATCH_REGEXP

      Error code for "Version must match regexp".

      See Also:
    • ACQUIRER_ID_MUST_NOT_BE_NULL

      public static final String ACQUIRER_ID_MUST_NOT_BE_NULL

      Error code for "AcquirerId must not be null".

      See Also:
    • ACQUIRER_ID_MUST_MATCH_REGEXP

      public static final String ACQUIRER_ID_MUST_MATCH_REGEXP

      Error code for "AcquirerId must match regexp".

      See Also:
    • CHANNEL_MUST_NOT_BE_NULL

      public static final String CHANNEL_MUST_NOT_BE_NULL

      Error code for "Channel must not be null".

      See Also:
    • CHANNEL_MUST_MATCH_REGEXP

      public static final String CHANNEL_MUST_MATCH_REGEXP

      Error code for "Channel must match regexp".

      See Also:
    • TERMINAL_ID_MUST_NOT_BE_NULL

      public static final String TERMINAL_ID_MUST_NOT_BE_NULL

      Error code for "TerminalId must not be null".

      See Also:
    • TERMINAL_ID_MUST_MATCH_REGEXP

      public static final String TERMINAL_ID_MUST_MATCH_REGEXP

      Error code for "TerminalId must match regexp".

      See Also:
    • MERCHANT_ID_MUST_NOT_BE_NULL_FOR_POS

      public static final String MERCHANT_ID_MUST_NOT_BE_NULL_FOR_POS

      Error code for "If Channel equals to POS, MerchantId must not be null".

      See Also:
    • MERCHANT_ID_MUST_MATCH_REGEXP

      public static final String MERCHANT_ID_MUST_MATCH_REGEXP

      Error code for "MerchantId must match regexp".

      See Also:
    • REQUEST_ID_MUST_NOT_BE_NULL_DESCR

      public static final String REQUEST_ID_MUST_NOT_BE_NULL_DESCR

      Error description for "Request ID must not be null".

      See Also:
    • REQUEST_ID_MUST_MATCH_REGEXP_DESCR

      public static final String REQUEST_ID_MUST_MATCH_REGEXP_DESCR

      Error description for "Request ID must match regexp".

      See Also:
    • VERSION_MUST_MATCH_REGEXP_DESCR

      public static final String VERSION_MUST_MATCH_REGEXP_DESCR

      Error description for "Version must match regexp".

      See Also:
    • ACQUIRER_ID_MUST_NOT_BE_NULL_DESCR

      public static final String ACQUIRER_ID_MUST_NOT_BE_NULL_DESCR

      Error description for "Acquirer ID must not be null".

      See Also:
    • ACQUIRER_ID_MUST_MATCH_REGEXP_DESCR

      public static final String ACQUIRER_ID_MUST_MATCH_REGEXP_DESCR

      Error description for "Acquirer ID must match regexp".

      See Also:
    • CHANNEL_MUST_NOT_BE_NULL_DESCR

      public static final String CHANNEL_MUST_NOT_BE_NULL_DESCR

      Error description for "Channel must not be null".

      See Also:
    • CHANNEL_MUST_MATCH_REGEXP_DESCR

      public static final String CHANNEL_MUST_MATCH_REGEXP_DESCR

      Error description for "Channel must match regexp".

      See Also:
    • TERMINAL_ID_MUST_NOT_BE_NULL_DESCR

      public static final String TERMINAL_ID_MUST_NOT_BE_NULL_DESCR

      Error description for "Terminal ID must not be null".

      See Also:
    • TERMINAL_ID_MUST_MATCH_REGEXP_DESCR

      public static final String TERMINAL_ID_MUST_MATCH_REGEXP_DESCR

      Error description for "Terminal ID must match regexp".

      See Also:
    • MERCHANT_ID_MUST_NOT_BE_NULL_FOR_POS_DESCR

      public static final String MERCHANT_ID_MUST_NOT_BE_NULL_FOR_POS_DESCR

      Error description for "If channel equals to POS, merchant ID must not be null".

      See Also:
    • MERCHANT_ID_MUST_MATCH_REGEXP_DESCR

      public static final String MERCHANT_ID_MUST_MATCH_REGEXP_DESCR

      Error description for "Merchant ID must match regexp".

      See Also:
    • REQUEST_ID_MUST_NOT_BE_NULL_MSG

      public static final String REQUEST_ID_MUST_NOT_BE_NULL_MSG

      Error message for "Request ID must not be null".

      See Also:
    • REQUEST_ID_MUST_MATCH_REGEXP_MSG

      public static final String REQUEST_ID_MUST_MATCH_REGEXP_MSG

      Error message for "Request ID must match regexp".

      See Also:
    • VERSION_MUST_MATCH_REGEXP_MSG

      public static final String VERSION_MUST_MATCH_REGEXP_MSG

      Error message for "Version must match regexp".

      See Also:
    • ACQUIRER_ID_MUST_NOT_BE_NULL_MSG

      public static final String ACQUIRER_ID_MUST_NOT_BE_NULL_MSG

      Error message for "Acquirer ID must not be null".

      See Also:
    • ACQUIRER_ID_MUST_MATCH_REGEXP_MSG

      public static final String ACQUIRER_ID_MUST_MATCH_REGEXP_MSG

      Error message for "Acquirer ID must match regexp".

      See Also:
    • CHANNEL_MUST_NOT_BE_NULL_MSG

      public static final String CHANNEL_MUST_NOT_BE_NULL_MSG

      Error message for "Channel must not be null".

      See Also:
    • CHANNEL_MUST_MATCH_REGEXP_MSG

      public static final String CHANNEL_MUST_MATCH_REGEXP_MSG

      Error message for "Channel must match regexp".

      See Also:
    • TERMINAL_ID_MUST_NOT_BE_NULL_MSG

      public static final String TERMINAL_ID_MUST_NOT_BE_NULL_MSG

      Error message for "Terminal ID must not be null".

      See Also:
    • TERMINAL_ID_MUST_MATCH_REGEXP_MSG

      public static final String TERMINAL_ID_MUST_MATCH_REGEXP_MSG

      Error message for "Terminal ID must match regexp".

      See Also:
    • MERCHANT_ID_MUST_NOT_BE_NULL_FOR_POS_MSG

      public static final String MERCHANT_ID_MUST_NOT_BE_NULL_FOR_POS_MSG

      Error message for "If channel equals to POS, merchant ID must not be null".

      See Also:
    • MERCHANT_ID_MUST_MATCH_REGEXP_MSG

      public static final String MERCHANT_ID_MUST_MATCH_REGEXP_MSG

      Error message for "Merchant ID must match regexp".

      See Also:
  • Constructor Details

    • ErrorCode

      private ErrorCode()

      Private default constructor.