Package ghidra.program.model.data
Class DataTypeEncodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ghidra.util.exception.UsrException
ghidra.program.model.data.DataTypeEncodeException
- All Implemented Interfaces:
Serializable
Exception thrown when a value cannot be encoded for a data type
- See Also:
-
Constructor Summary
ConstructorDescriptionDataTypeEncodeException
(Object value, DataType dt, Throwable cause) ConstructorDataTypeEncodeException
(String message, Object value, DataType dt) ConstructorDataTypeEncodeException
(String message, Object value, DataType dt, Throwable cause) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the data typegetValue()
Get the requested value or representationMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataTypeEncodeException
Constructor- Parameters:
message
- the exception messagevalue
- the requested value or representationdt
- the data type
-
DataTypeEncodeException
Constructor- Parameters:
message
- the exception messagevalue
- the requested value or representationdt
- the data typecause
- the exception cause
-
DataTypeEncodeException
Constructor- Parameters:
value
- the requested value or representationdt
- the data typecause
- the exception cause
-
-
Method Details
-
getValue
Get the requested value or representation- Returns:
- the requested value representation
-
getDataType
Get the data type- Returns:
- the data type
-