Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.eventstreamrpc.model.EventStreamOperationError
-
- software.amazon.awssdk.eventstreamrpc.model.ValidationException
-
- All Implemented Interfaces:
Serializable
,EventStreamJsonMessage
public class ValidationException extends EventStreamOperationError
Thrown when a validation exception occurs- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ERROR_CODE
The error code associated with a validation exception
-
Constructor Summary
Constructors Constructor Description ValidationException(String serviceName, String message)
Creates a new ValidationException with the given service name and message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApplicationModelType()
Returns the named model type.-
Methods inherited from class software.amazon.awssdk.eventstreamrpc.model.EventStreamOperationError
getErrorCode, getMessage, getService
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
-
-
-
Field Detail
-
ERROR_CODE
public static final String ERROR_CODE
The error code associated with a validation exception- See Also:
- Constant Field Values
-
-
Method Detail
-
getApplicationModelType
public String getApplicationModelType()
Returns the named model type. May be used for a header.- Returns:
- the named model type
-
-