Package com.flir.thermalsdk
Class ErrorCode
java.lang.Object
com.flir.thermalsdk.ErrorCode
General error code class.
-
Method Summary
-
Method Details
-
getCode
public int getCode()Error code as an integer value corresponding to thisErrorCode
instance. Note that ec1.getCode() == ec2.getCode() doesn't necessarily mean they're equal. You need to use ec1.equals(ec2) to check that.- Returns:
- Error code as an integer value. If not stated otherwise, 0 means "no error".
- See Also:
-
getMessage
Error message.- Returns:
- Error message or empty string if there is "no error".
- See Also:
-
isError
public boolean isError()Informs if thisErrorCode
is holding any actual error.- Returns:
- True if error happened, otherwise returns false.
-
equals
-
hashCode
public int hashCode() -
toString
-