Class AWSSchemaRegistryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.services.schemaregistry.exception.AWSSchemaRegistryException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GlueSchemaRegistryIncompatibleDataException
public class AWSSchemaRegistryException extends RuntimeException
Wraps all exceptions and throws to the caller.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AWSSchemaRegistryException()Constructs a new runtime exception withnullas its detail message.AWSSchemaRegistryException(String message)Constructs a new runtime exception with the specified detail message.AWSSchemaRegistryException(String message, Throwable cause)Constructs a new runtime exception with the specified detail message and cause.AWSSchemaRegistryException(Throwable cause)Constructs a new runtime exception with the specified cause and a detail message of cause.AWSSchemaRegistryException(Throwable cause, UUID schemaVersionId)Constructs a new runtime exception withnullas its detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AWSSchemaRegistryException
public AWSSchemaRegistryException()
Constructs a new runtime exception withnullas its detail message.
-
AWSSchemaRegistryException
public AWSSchemaRegistryException(Throwable cause, UUID schemaVersionId)
Constructs a new runtime exception withnullas its detail message.- Parameters:
cause- original exceptionschemaVersionId- schema version id for context
-
AWSSchemaRegistryException
public AWSSchemaRegistryException(String message)
Constructs a new runtime exception with the specified detail message.- Parameters:
message- the detail message.
-
AWSSchemaRegistryException
public AWSSchemaRegistryException(String message, Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.- Parameters:
message- the detail message.cause- the cause.
-
AWSSchemaRegistryException
public AWSSchemaRegistryException(Throwable cause)
Constructs a new runtime exception with the specified cause and a detail message of cause.- Parameters:
cause- the cause
-
-