Class DittoException.ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ditto.java.DittoException
com.ditto.java.DittoException.ValidationException
- All Implemented Interfaces:
Serializable
- Enclosing class:
DittoException
Represents a validation error for data or configuration.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ditto.java.DittoException
DittoException.ActivationException, DittoException.ActivationExceptionReason, DittoException.AuthenticationException, DittoException.AuthenticationExceptionReason, DittoException.FatalException, DittoException.IoException, DittoException.IoExceptionReason, DittoException.PresenceException, DittoException.PresenceExceptionReason, DittoException.StoreException, DittoException.StoreExceptionReason, DittoException.TransportException, DittoException.TransportExceptionReason, DittoException.UnknownException, DittoException.UnsupportedException, DittoException.ValidationException, DittoException.ValidationExceptionReason -
Field Summary
Fields inherited from class com.ditto.java.DittoException
internalReason -
Method Summary
Modifier and TypeMethodDescriptionReturns the specific reason for this validation error.Methods inherited from class com.ditto.java.DittoException
getLocalizedMessage, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getReason
Returns the specific reason for this validation error.- Returns:
- the
DittoException.ValidationExceptionReasondescribing what validation failed.
-