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

public class TelematicsSDKException extends Exception
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 Details

    • TelematicsSDKException

      public TelematicsSDKException(String message)
      Constructs a new TelematicsSDKException with the specified detail message.
      Parameters:
      message - the detail message explaining the reason for the exception. This message can be retrieved later by the Throwable.getMessage() method.
    • TelematicsSDKException

      public TelematicsSDKException(String message, Throwable cause)
      Constructs a new TelematicsSDKException with the specified detail message and cause.
      Parameters:
      message - the detail message explaining the reason for the exception. This message can be retrieved later by the Throwable.getMessage() method.
      cause - the cause of the exception. This can be retrieved later by the Throwable.getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.
    • TelematicsSDKException

      public TelematicsSDKException(Throwable cause)
      Constructs a new TelematicsSDKException with the specified cause.
      Parameters:
      cause - the cause of the exception. This can be retrieved later by the Throwable.getCause() method. A null value is permitted, and indicates that the cause is nonexistent or unknown.