Class PersistenceExceptionTypeConsistencyDictionaryResolveFieldName
- 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.PersistenceExceptionTypeConsistencyDictionaryResolveFieldName
-
- All Implemented Interfaces:
Serializable
public class PersistenceExceptionTypeConsistencyDictionaryResolveFieldName extends PersistenceExceptionTypeConsistencyDictionary
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistenceExceptionTypeConsistencyDictionaryResolveFieldName(Class<?> declaringType, String fieldName)PersistenceExceptionTypeConsistencyDictionaryResolveFieldName(Class<?> declaringType, String fieldName, String message)PersistenceExceptionTypeConsistencyDictionaryResolveFieldName(Class<?> declaringType, String fieldName, String message, Throwable cause)PersistenceExceptionTypeConsistencyDictionaryResolveFieldName(Class<?> declaringType, String fieldName, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)PersistenceExceptionTypeConsistencyDictionaryResolveFieldName(Class<?> declaringType, String fieldName, Throwable cause)
-
Method Summary
Modifier and Type Method Description Class<?>getDeclaringType()StringgetMessage()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.StringgetTypeName()-
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
-
PersistenceExceptionTypeConsistencyDictionaryResolveFieldName
public PersistenceExceptionTypeConsistencyDictionaryResolveFieldName(Class<?> declaringType, String fieldName)
-
PersistenceExceptionTypeConsistencyDictionaryResolveFieldName
public PersistenceExceptionTypeConsistencyDictionaryResolveFieldName(Class<?> declaringType, String fieldName, String message)
-
PersistenceExceptionTypeConsistencyDictionaryResolveFieldName
public PersistenceExceptionTypeConsistencyDictionaryResolveFieldName(Class<?> declaringType, String fieldName, Throwable cause)
-
PersistenceExceptionTypeConsistencyDictionaryResolveFieldName
public PersistenceExceptionTypeConsistencyDictionaryResolveFieldName(Class<?> declaringType, String fieldName, String message, Throwable cause)
-
-
Method Detail
-
getDeclaringType
public Class<?> getDeclaringType()
-
getTypeName
public String getTypeName()
-
getMessage
public String getMessage()
Description copied from class:BaseExceptionDue 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:
getMessagein classBaseException- Returns:
- this exception type's generic output string plus an explicit message if present.
-
-