Enum Class ErrorCode

java.lang.Object
java.lang.Enum<ErrorCode>
com.dna.jopt.framework.codedefinition.ErrorCode
All Implemented Interfaces:
IInfoCode, Serializable, Comparable<ErrorCode>, Constable

public enum ErrorCode extends Enum<ErrorCode> implements IInfoCode
  • Enum Constant Details

    • UNCAUGHT_EXCEPTION_IN_OPTIMIZATION

      public static final ErrorCode UNCAUGHT_EXCEPTION_IN_OPTIMIZATION
    • PILLAR_DROP_NOTOK_FINALIZED

      public static final ErrorCode PILLAR_DROP_NOTOK_FINALIZED
    • PILLAR_DROP_NOTOK_INACTIVE

      public static final ErrorCode PILLAR_DROP_NOTOK_INACTIVE
    • PILLAR_DROP_NOTOK_WITHIN_LOCKDOWN

      public static final ErrorCode PILLAR_DROP_NOTOK_WITHIN_LOCKDOWN
    • PILLAR_DROP_NOTOK_PARTIAL_LOCKDOWN

      public static final ErrorCode PILLAR_DROP_NOTOK_PARTIAL_LOCKDOWN
    • PILLAR_DROP_NOTOK_LOCKDOWN_MOVING_NONE_OPTIMIZABLE

      public static final ErrorCode PILLAR_DROP_NOTOK_LOCKDOWN_MOVING_NONE_OPTIMIZABLE
    • PILLAR_DROP_NOTOK_LOCKDOWN_MOVING_NONE_OPTIMIZABLE_BLOCK

      public static final ErrorCode PILLAR_DROP_NOTOK_LOCKDOWN_MOVING_NONE_OPTIMIZABLE_BLOCK
    • PILLAR_DROP_NOTOK_LATE

      public static final ErrorCode PILLAR_DROP_NOTOK_LATE
    • PILLAR_DROP_NOTOK_NOROUTES

      public static final ErrorCode PILLAR_DROP_NOTOK_NOROUTES
    • PILLAR_DROP_NOTOK_NO_MATCHINGROUTES

      public static final ErrorCode PILLAR_DROP_NOTOK_NO_MATCHINGROUTES
    • PILLAR_DROP_NOTOK_NOROUTES_WITHOUT_HCV

      public static final ErrorCode PILLAR_DROP_NOTOK_NOROUTES_WITHOUT_HCV
    • PILLAR_DROP_NOTOK

      public static final ErrorCode PILLAR_DROP_NOTOK
    • PILLAR_DROP_NOTOK_BEFORE_FIRST_NONE_OPTIMIZABLE_PILLAR

      public static final ErrorCode PILLAR_DROP_NOTOK_BEFORE_FIRST_NONE_OPTIMIZABLE_PILLAR
    • PILLAR_DROP_NOTOK_SOFT_ROUTEOVERTIME

      public static final ErrorCode PILLAR_DROP_NOTOK_SOFT_ROUTEOVERTIME
    • PILLAR_DROP_NOTOK_SOFT_ROUTEOVERDISTANCE

      public static final ErrorCode PILLAR_DROP_NOTOK_SOFT_ROUTEOVERDISTANCE
    • ENTITY_CORRUPT_NULL

      public static final ErrorCode ENTITY_CORRUPT_NULL
    • ENTITY_CORRUPT_ROUTESNULL

      public static final ErrorCode ENTITY_CORRUPT_ROUTESNULL
    • ENTITY_CORRUPT_ROUTESNULLRESOURCE

      public static final ErrorCode ENTITY_CORRUPT_ROUTESNULLRESOURCE
    • ENTITY_CORRUPT_NOTENOUGHTWORKINGTIME

      public static final ErrorCode ENTITY_CORRUPT_NOTENOUGHTWORKINGTIME
    • ENTITY_CORRUPT_NUM_DUTYHOURS_NOT_FITTING_ROUTECOUNT

      public static final ErrorCode ENTITY_CORRUPT_NUM_DUTYHOURS_NOT_FITTING_ROUTECOUNT
    • ENTITY_CORRUPT_ROUTES_HAVE_NULL_ELEMENT

      public static final ErrorCode ENTITY_CORRUPT_ROUTES_HAVE_NULL_ELEMENT
    • ENTITY_CORRUPT_CORRECTION_FAILED

      public static final ErrorCode ENTITY_CORRUPT_CORRECTION_FAILED
    • ENTITY_CORRUPT_MULTIPLE_ANCHORS

      public static final ErrorCode ENTITY_CORRUPT_MULTIPLE_ANCHORS
    • ENTIY_WOH_MIXED_ZONEIDS

      public static final ErrorCode ENTIY_WOH_MIXED_ZONEIDS
    • RESOURSES_WITH_INCORRECT_DUTY_HOURS_ORDER

      public static final ErrorCode RESOURSES_WITH_INCORRECT_DUTY_HOURS_ORDER
    • BAD_STAY_OUT_ROUTES

      public static final ErrorCode BAD_STAY_OUT_ROUTES
    • ROUTES_WITH_MISMATCH_DUTY_HOURS

      public static final ErrorCode ROUTES_WITH_MISMATCH_DUTY_HOURS
    • BAD_RESOURCES_WITH_MIXED_TIME_ZONES

      public static final ErrorCode BAD_RESOURCES_WITH_MIXED_TIME_ZONES
  • 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
    • getCodeMessage

      public String getCodeMessage()
      Description copied from interface: IInfoCode
      Gets the message.
      Specified by:
      getCodeMessage in interface IInfoCode
      Returns:
      the String message
    • getCode

      public int getCode()
      Description copied from interface: IInfoCode
      Gets the statusCode.
      Specified by:
      getCode in interface IInfoCode
      Returns:
      the int statuscode
    • getMyCause

      public Throwable getMyCause()