Class TelematicsSDKException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sentilant.telematicssdk.exceptions.TelematicsSDKException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TelematicsSDKBatteryOptimizationException,TelematicsSDKMissingClientIDSecretException,TelematicsSDKMissingPermissionException,TelematicsSDKMissingUserException,TelematicsSDKMissingVehicleException,TelematicsSDKNotAuthenticatedException
Exception class for handling errors within the Telematics SDK.
This class provides constructors for creating exceptions with error messages and causes,
and is used to indicate various error conditions encountered by the SDK.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTelematicsSDKException(String message) Constructs a newTelematicsSDKExceptionwith the specified detail message.TelematicsSDKException(String message, Throwable cause) Constructs a newTelematicsSDKExceptionwith the specified detail message and cause.TelematicsSDKException(Throwable cause) Constructs a newTelematicsSDKExceptionwith the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TelematicsSDKException
Constructs a newTelematicsSDKExceptionwith the specified detail message.- Parameters:
message- the detail message explaining the reason for the exception. This message can be retrieved later by theThrowable.getMessage()method.
-
TelematicsSDKException
Constructs a newTelematicsSDKExceptionwith the specified detail message and cause.- Parameters:
message- the detail message explaining the reason for the exception. This message can be retrieved later by theThrowable.getMessage()method.cause- the cause of the exception. This can be retrieved later by theThrowable.getCause()method. Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.
-
TelematicsSDKException
Constructs a newTelematicsSDKExceptionwith the specified cause.- Parameters:
cause- the cause of the exception. This can be retrieved later by theThrowable.getCause()method. Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.
-