Class PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- one.microstream.exceptions.BaseException
-
- one.microstream.persistence.exceptions.PersistenceException
-
- one.microstream.persistence.exceptions.PersistenceExceptionTypeConsistency
-
- one.microstream.persistence.exceptions.PersistenceExceptionTypeConsistencyDictionary
-
- one.microstream.persistence.exceptions.PersistenceExceptionTypeConsistencyDefinitionValidation
-
- one.microstream.persistence.exceptions.PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch
-
- All Implemented Interfaces:
Serializable
public class PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch extends PersistenceExceptionTypeConsistencyDefinitionValidation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch(Field actualField, Field definedField)
PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch(Field actualField, Field definedField, String message)
PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch(Field actualField, Field definedField, String message, Throwable cause)
PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch(Field actualField, Field definedField, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch(Field actualField, Field definedField, Throwable cause)
-
Method Summary
Modifier and Type Method Description Object
getActualType()
Object
getDefinedType()
String
getMessage()
Due to bad class design in the JDK'sThrowable
, this getter-named methods actually serves as the output string assembly method.
For the actual message getter, seeBaseException.message()
(which is a preferable name, anyway).
For the actually executed logic, seeBaseException.assembleOutputString()
, which is called by this method.-
Methods inherited from class one.microstream.exceptions.BaseException
assembleDetailString, assembleOutputString, message
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch
public PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch(Field actualField, Field definedField)
-
PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch
public PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch(Field actualField, Field definedField, String message)
-
PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch
public PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch(Field actualField, Field definedField, Throwable cause)
-
PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch
public PersistenceExceptionTypeConsistencyDefinitionValidationFieldMismatch(Field actualField, Field definedField, String message, Throwable cause)
-
-
Method Detail
-
getActualType
public Object getActualType()
-
getDefinedType
public Object getDefinedType()
-
getMessage
public String getMessage()
Description copied from class:BaseException
Due to bad class design in the JDK'sThrowable
, this getter-named methods actually serves as the output string assembly method.
For the actual message getter, seeBaseException.message()
(which is a preferable name, anyway).
For the actually executed logic, seeBaseException.assembleOutputString()
, which is called by this method.- Overrides:
getMessage
in classBaseException
- Returns:
- this exception type's generic output string plus an explicit message if present.
-
-