Package com.flir.thermalsdk.meterlink
Class MeterlinkException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.flir.thermalsdk.meterlink.MeterlinkException
- All Implemented Interfaces:
Serializable
A class representing a Meterlink exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBasic constructor.MeterlinkException
(MeterlinkExceptionType type, String message) Basic constructor with a message. -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Gets a type of the exception as one ofMeterlinkExceptionType
.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MeterlinkException
Basic constructor.- Parameters:
type
- a type of the exception
-
MeterlinkException
Basic constructor with a message.- Parameters:
type
- a type of the exceptionmessage
- a message
-
-
Method Details
-
getType
Gets a type of the exception as one ofMeterlinkExceptionType
.- Returns:
- Returns a type of the exception.
-