public class AWSIotException extends Exception
Constructor and Description |
---|
AWSIotException(AWSIotDeviceErrorCode errorCode,
String message)
Instantiates a new exception object.
|
AWSIotException(String message)
Instantiates a new exception object.
|
AWSIotException(Throwable cause)
Instantiates a new exception object.
|
Modifier and Type | Method and Description |
---|---|
AWSIotDeviceErrorCode |
getErrorCode()
Error code for shadow methods.
|
void |
setErrorCode(AWSIotDeviceErrorCode errorCode)
Error code for shadow methods.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AWSIotException(String message)
message
- the error messagepublic AWSIotException(AWSIotDeviceErrorCode errorCode, String message)
errorCode
- the error codemessage
- the error messagepublic AWSIotException(Throwable cause)
cause
- the cause. A null value is permitted, and indicates that the
cause is nonexistent or unknown.public AWSIotDeviceErrorCode getErrorCode()
public void setErrorCode(AWSIotDeviceErrorCode errorCode)
errorCode
- the new error code for the shadow method exceptionCopyright © 2020. All rights reserved.