public enum ErrorCode extends Enum<ErrorCode> implements IInfoCode
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Gets the
statusCode . |
String |
getCodeMessage()
Gets the
message . |
Throwable |
getMyCause() |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode UNCAUGHT_EXCEPTION_IN_OPTIMIZATION
public static final ErrorCode PILLAR_DROP_NOTOK_FINALIZED
public static final ErrorCode PILLAR_DROP_NOTOK_INACTIVE
public static final ErrorCode PILLAR_DROP_NOTOK_WITHIN_LOCKDOWN
public static final ErrorCode PILLAR_DROP_NOTOK_PARTIAL_LOCKDOWN
public static final ErrorCode PILLAR_DROP_NOTOK_LOCKDOWN_MOVING_NONE_OPTIMIZABLE
public static final ErrorCode PILLAR_DROP_NOTOK_LOCKDOWN_MOVING_NONE_OPTIMIZABLE_BLOCK
public static final ErrorCode PILLAR_DROP_NOTOK_LATE
public static final ErrorCode PILLAR_DROP_NOTOK_NOROUTES
public static final ErrorCode PILLAR_DROP_NOTOK_NO_MATCHINGROUTES
public static final ErrorCode PILLAR_DROP_NOTOK_NOROUTES_WITHOUT_HCV
public static final ErrorCode PILLAR_DROP_NOTOK
public static final ErrorCode PILLAR_DROP_NOTOK_BEFORE_FIRST_NONE_OPTIMIZABLE_PILLAR
public static final ErrorCode ENTITY_CORRUPT_NULL
public static final ErrorCode ENTITY_CORRUPT_ROUTESNULL
public static final ErrorCode ENTITY_CORRUPT_ROUTESNULLRESOURCE
public static final ErrorCode ENTITY_CORRUPT_NOTENOUGHTWORKINGTIME
public static final ErrorCode ENTITY_CORRUPT_NUM_DUTYHOURS_NOT_FITTING_ROUTECOUNT
public static final ErrorCode ENTITY_CORRUPT_ROUTES_HAVE_NULL_ELEMENT
public static final ErrorCode ENTITY_CORRUPT_CORRECTION_FAILED
public static final ErrorCode ENTITY_CORRUPT_MULTIPLE_ANCHORS
public static final ErrorCode ENTIY_WOH_MIXED_ZONEIDS
public static final ErrorCode RESOURSES_WITH_INCORRECT_DUTY_HOURS_ORDER
public static final ErrorCode BAD_STAY_OUT_ROUTES
public static final ErrorCode ROUTES_WITH_MISMATCH_DUTY_HOURS
public static final ErrorCode BAD_RESOURCES_WITH_MIXED_TIME_ZONES
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCodeMessage()
IInfoCode
message
.getCodeMessage
in interface IInfoCode
public int getCode()
IInfoCode
statusCode
.public Throwable getMyCause()
Copyright © 2017–2023 DNA Evolutions GmbH. All rights reserved.