Enum Class ErrorCode

java.lang.Object
java.lang.Enum<ErrorCode>
eu.europa.ec.taxud.dac8.vm.validation.ErrorCode
All Implemented Interfaces:
Serializable, Comparable<ErrorCode>, Constable

public enum ErrorCode extends Enum<ErrorCode>
ErrorCode represents the Possible error codes for the Technical Error Message.
  • Enum Constant Details

    • BR_TR_10010

      public static final ErrorCode BR_TR_10010
      The Br tr 10010.
    • BR_TR_10020

      public static final ErrorCode BR_TR_10020
      The Br tr 10020.
    • TR_10099

      public static final ErrorCode TR_10099
      The Tr 10099
    • BR_TR_20010

      public static final ErrorCode BR_TR_20010
      The Br tr 20010.
    • BR_TR_20020

      public static final ErrorCode BR_TR_20020
      The Br tr 20020.
    • BR_TR_20030

      public static final ErrorCode BR_TR_20030
      The Br tr 20030.
    • BR_TR_20040

      public static final ErrorCode BR_TR_20040
      The Br tr 20040.
    • BR_TR_20050

      public static final ErrorCode BR_TR_20050
      The Br tr 20050.
    • BR_TR_20060

      public static final ErrorCode BR_TR_20060
      The Br tr 20060.
    • BR_TR_22010

      public static final ErrorCode BR_TR_22010
      The Br tr 22010.
    • BR_TR_22020

      public static final ErrorCode BR_TR_22020
      The Br tr 22020.
    • BR_TR_24010

      public static final ErrorCode BR_TR_24010
      The Br tr 24010.
    • BR_TR_24020

      public static final ErrorCode BR_TR_24020
      The Br tr 24020.
    • BR_TR_24030

      public static final ErrorCode BR_TR_24030
      The Br tr 24030.
    • BR_TR_24040_A

      public static final ErrorCode BR_TR_24040_A
      The Br tr 24040.
    • BR_TR_24040_B

      public static final ErrorCode BR_TR_24040_B
      The Br tr 24040.
    • BR_TR_24050

      public static final ErrorCode BR_TR_24050
      The Br tr 24050.
    • BR_TR_24060

      public static final ErrorCode BR_TR_24060
      The Br tr 24060.
    • BR_TR_24070

      public static final ErrorCode BR_TR_24070
      The Br tr 24070.
    • BR_TR_24080

      public static final ErrorCode BR_TR_24080
      The Br tr 24080.
    • BR_TR_24090

      public static final ErrorCode BR_TR_24090
      The Br tr 24090.
    • BR_TR_26010

      public static final ErrorCode BR_TR_26010
      The Br tr 26010.
    • BR_TR_26020

      public static final ErrorCode BR_TR_26020
      The Br tr 26020.
    • BR_TR_26030

      public static final ErrorCode BR_TR_26030
      The Br tr 26030.
    • BR_TR_50005

      public static final ErrorCode BR_TR_50005
      The Br tr 50005.
    • BR_TR_50007

      public static final ErrorCode BR_TR_50007
      The Br tr 50007.
    • BR_TR_50008

      public static final ErrorCode BR_TR_50008
      The Br tr 50008.
    • BR_TR_50009

      public static final ErrorCode BR_TR_50009
      The Br tr 50009.
    • BR_TR_50010

      public static final ErrorCode BR_TR_50010
      The Br tr 50010.
    • BR_TR_60001

      public static final ErrorCode BR_TR_60001
      The Br tr 60001.
    • BR_TR_60002

      public static final ErrorCode BR_TR_60002
      The Br tr 60002.
    • BR_TR_60003

      public static final ErrorCode BR_TR_60003
      The Br tr 60003.
    • BR_TR_60004

      public static final ErrorCode BR_TR_60004
      The Br tr 60004.
    • BR_TR_60005

      public static final ErrorCode BR_TR_60005
      The Br tr 60005.
    • BR_TR_60006

      public static final ErrorCode BR_TR_60006
      The Br tr 60006.
    • BR_TR_60007

      public static final ErrorCode BR_TR_60007
      The Br tr 60007.
    • BR_TR_60008

      public static final ErrorCode BR_TR_60008
      The Br tr 60008.
    • BR_TR_60009

      public static final ErrorCode BR_TR_60009
      The Br tr 60009.
    • BR_TR_60010

      public static final ErrorCode BR_TR_60010
      The Br tr 60010.
    • BR_TR_60011

      public static final ErrorCode BR_TR_60011
      The Br tr 60011.
    • BR_TR_70020

      public static final ErrorCode BR_TR_70020
      The Br tr 70020.
    • BR_TR_80000

      public static final ErrorCode BR_TR_80000
      The Br tr 80000.
    • BR_TR_80001

      public static final ErrorCode BR_TR_80001
      The Br tr 80001.
    • BR_TR_80002

      public static final ErrorCode BR_TR_80002
      The Br tr 80002.
    • BR_TR_80003

      public static final ErrorCode BR_TR_80003
      The Br tr 80003.
    • BR_TR_80004

      public static final ErrorCode BR_TR_80004
      The Br tr 80004.
    • BR_TR_80005

      public static final ErrorCode BR_TR_80005
      The Br tr 80005.
    • BR_TR_80006

      public static final ErrorCode BR_TR_80006
      The Br tr 80006.
    • BR_TR_80008

      public static final ErrorCode BR_TR_80008
      The Br tr 80008.
    • BR_TR_80009

      public static final ErrorCode BR_TR_80009
      The Br tr 80009.
    • BR_TR_80010

      public static final ErrorCode BR_TR_80010
      The Br tr 80010.
    • BR_TR_80011

      public static final ErrorCode BR_TR_80011
      The Br tr 80011.
    • BR_TR_80013

      public static final ErrorCode BR_TR_80013
      The Br tr 80013.
    • BR_TR_80014

      public static final ErrorCode BR_TR_80014
      The Br tr 80014.
    • BR_TR_80015

      public static final ErrorCode BR_TR_80015
      The Br tr 80015.
    • BR_TR_90000

      public static final ErrorCode BR_TR_90000
      The Br tr 90000.
    • BR_TR_90001

      public static final ErrorCode BR_TR_90001
      The Br tr 90001.
    • BR_TR_90002

      public static final ErrorCode BR_TR_90002
      The Br tr 90002.
    • BR_TR_99999

      public static final ErrorCode BR_TR_99999
      The Br tr 99999.
  • Method Details

    • values

      public static ErrorCode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ErrorCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromCode

      public static ErrorCode fromCode(int code)
      Translates a numeric code into a ErrorCode.
      Parameters:
      code - The code.
      Returns:
      The associated enum.
    • isFileError

      public boolean isFileError()
      Is file error boolean.
      Returns:
      true if the ErrorCode is linked to a technical rule.
    • getDisplayName

      public String getDisplayName()
      Gets display name.
      Returns:
      a String representation of the error code.