Class PersistenceExceptionTypeHandlerConsistencyConflictedType
- 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.PersistenceExceptionTypeHandlerConsistency
-
- one.microstream.persistence.exceptions.PersistenceExceptionTypeHandlerConsistencyConflictedType
-
- All Implemented Interfaces:
Serializable
public class PersistenceExceptionTypeHandlerConsistencyConflictedType extends PersistenceExceptionTypeHandlerConsistency
- See Also:
- Serialized Form
-
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description PersistenceTypeHandler<?,?>
getActualTypeHandler()
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.PersistenceTypeHandler<?,?>
getPassedTypeHandler()
Class<?>
getType()
-
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
-
PersistenceExceptionTypeHandlerConsistencyConflictedType
public PersistenceExceptionTypeHandlerConsistencyConflictedType(Class<?> type, PersistenceTypeHandler<?,?> actualTypeHandler, PersistenceTypeHandler<?,?> passedTypeHandler)
-
PersistenceExceptionTypeHandlerConsistencyConflictedType
public PersistenceExceptionTypeHandlerConsistencyConflictedType(Class<?> type, PersistenceTypeHandler<?,?> actualTypeHandler, PersistenceTypeHandler<?,?> passedTypeHandler, String message)
-
PersistenceExceptionTypeHandlerConsistencyConflictedType
public PersistenceExceptionTypeHandlerConsistencyConflictedType(Class<?> type, PersistenceTypeHandler<?,?> actualTypeHandler, PersistenceTypeHandler<?,?> passedTypeHandler, Throwable cause)
-
PersistenceExceptionTypeHandlerConsistencyConflictedType
public PersistenceExceptionTypeHandlerConsistencyConflictedType(Class<?> type, PersistenceTypeHandler<?,?> actualTypeHandler, PersistenceTypeHandler<?,?> passedTypeHandler, String message, Throwable cause)
-
PersistenceExceptionTypeHandlerConsistencyConflictedType
public PersistenceExceptionTypeHandlerConsistencyConflictedType(Class<?> type, PersistenceTypeHandler<?,?> actualTypeHandler, PersistenceTypeHandler<?,?> passedTypeHandler, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-
Method Detail
-
getType
public Class<?> getType()
-
getActualTypeHandler
public PersistenceTypeHandler<?,?> getActualTypeHandler()
-
getPassedTypeHandler
public PersistenceTypeHandler<?,?> getPassedTypeHandler()
-
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.
-
-