Class V2ErrorResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.crt.CrtRuntimeException
-
- software.amazon.awssdk.iot.iotshadow.model.V2ErrorResponseException
-
- All Implemented Interfaces:
Serializable
public class V2ErrorResponseException extends software.amazon.awssdk.crt.CrtRuntimeException
An exception that can wrap a specific modeled service error (V2ErrorResponse) as optional, auxiliary data.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description V2ErrorResponseException(String msg, V2ErrorResponse modeledError)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V2ErrorResponse
getModeledError()
Gets the modeled error, if any, associated with this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
V2ErrorResponseException
public V2ErrorResponseException(String msg, V2ErrorResponse modeledError)
Constructor
-
-
Method Detail
-
getModeledError
public V2ErrorResponse getModeledError()
Gets the modeled error, if any, associated with this exception.
-
-