Class SchemaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- uk.gov.gchq.gaffer.core.exception.GafferRuntimeException
-
- uk.gov.gchq.gaffer.data.elementdefinition.exception.SchemaException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SplitElementGroupDefSchemaException
,VertexSerialiserSchemaException
,VisibilityPropertySchemaException
public class SchemaException extends GafferRuntimeException
AnSchemaException
is thrown when a schema is found to be invalid. This can occur for several reasons including when deserialisation of a json schema fails or a schema has invalid attributes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SchemaException(String message)
SchemaException(String message, Throwable e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
SchemaException
prependToMessage(String prependToMessage)
-
Methods inherited from class uk.gov.gchq.gaffer.core.exception.GafferRuntimeException
getStatus, setStatus
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
prependToMessage
public SchemaException prependToMessage(String prependToMessage)
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-