Class BinaryPersistenceExceptionStateInvalidLength
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- one.microstream.exceptions.BaseException
-
- one.microstream.persistence.exceptions.PersistenceException
-
- one.microstream.persistence.binary.exceptions.BinaryPersistenceException
-
- one.microstream.persistence.binary.exceptions.BinaryPersistenceExceptionState
-
- one.microstream.persistence.binary.exceptions.BinaryPersistenceExceptionStateInvalidLength
-
- All Implemented Interfaces:
Serializable
public class BinaryPersistenceExceptionStateInvalidLength extends BinaryPersistenceExceptionState
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BinaryPersistenceExceptionStateInvalidLength(long address, long length, long typeId, long objectOid)
BinaryPersistenceExceptionStateInvalidLength(long address, long length, long typeId, long objectOid, String message)
BinaryPersistenceExceptionStateInvalidLength(long address, long length, long typeId, long objectOid, String message, Throwable cause)
BinaryPersistenceExceptionStateInvalidLength(long address, long length, long typeId, long objectOid, String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
BinaryPersistenceExceptionStateInvalidLength(long address, long length, long typeId, long objectOid, Throwable cause)
-
Method Summary
Modifier and Type Method Description long
getAddress()
long
getLength()
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.long
getObjectOid()
long
getTypeId()
-
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
-
BinaryPersistenceExceptionStateInvalidLength
public BinaryPersistenceExceptionStateInvalidLength(long address, long length, long typeId, long objectOid)
-
BinaryPersistenceExceptionStateInvalidLength
public BinaryPersistenceExceptionStateInvalidLength(long address, long length, long typeId, long objectOid, String message)
-
BinaryPersistenceExceptionStateInvalidLength
public BinaryPersistenceExceptionStateInvalidLength(long address, long length, long typeId, long objectOid, Throwable cause)
-
BinaryPersistenceExceptionStateInvalidLength
public BinaryPersistenceExceptionStateInvalidLength(long address, long length, long typeId, long objectOid, String message, Throwable cause)
-
-
Method Detail
-
getLength
public long getLength()
-
getTypeId
public long getTypeId()
-
getAddress
public long getAddress()
-
getObjectOid
public long getObjectOid()
-
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.
-
-