-
- All Implemented Interfaces:
-
java.io.Serializable
public class OtaServiceException extends OtaException
This exception represents errors raised from Ota Client service's operations.
-
-
Field Summary
Fields Modifier and Type Field Description public OtaStatusCodecode
-
Constructor Summary
Constructors Constructor Description OtaServiceException(OtaStatusCode code, OtaUpdateStatus status)OtaServiceException(OtaStatusCode code, OtaUpdateStatus status, Throwable cause)OtaServiceException(OtaStatusCode code, OtaUpdateStatus status, String message)OtaServiceException(OtaStatusCode code, OtaUpdateStatus status, String message, Throwable cause)
-
Method Summary
Modifier and Type Method Description OtaStatusCodegetCode()OtaUpdateStatusgetUpdateStatus()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
OtaServiceException
OtaServiceException(OtaStatusCode code, OtaUpdateStatus status)
-
OtaServiceException
OtaServiceException(OtaStatusCode code, OtaUpdateStatus status, Throwable cause)
-
OtaServiceException
OtaServiceException(OtaStatusCode code, OtaUpdateStatus status, String message)
-
OtaServiceException
OtaServiceException(OtaStatusCode code, OtaUpdateStatus status, String message, Throwable cause)
-
-
Method Detail
-
getCode
OtaStatusCode getCode()
-
getUpdateStatus
OtaUpdateStatus getUpdateStatus()
-
-
-
-