Package org.netxms.client.events
Class TimeFrameFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.netxms.client.events.TimeFrameFormatException
- All Implemented Interfaces:
Serializable
Exception in case of time frame data parsing
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intprotected intSpecific error codestatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
TIME_VALIDATION_FAILURE
public static final int TIME_VALIDATION_FAILURE- See Also:
-
TIME_INCORRECT_ORDER
public static final int TIME_INCORRECT_ORDER- See Also:
-
DAY_OUT_OF_RANGE
public static final int DAY_OUT_OF_RANGE- See Also:
-
DAY_NOT_A_NUMBER
public static final int DAY_NOT_A_NUMBER- See Also:
-
errorCode
protected int errorCodeSpecific error code
-
-
Constructor Details
-
TimeFrameFormatException
public TimeFrameFormatException(int errorCode) Exception constructor- Parameters:
errorCode- one of error codes
-
-
Method Details
-
getErrorCode
public int getErrorCode()- Returns:
- the errorCode
-
getMessage
- Overrides:
getMessagein classThrowable- See Also:
-
getLocalizedMessage
- Overrides:
getLocalizedMessagein classThrowable- See Also:
-