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:
java.io.Serializable
public class DataTypeEncodeException extends UsrException
Exception thrown when a value cannot be encoded for a data type- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataTypeEncodeException(java.lang.Object value, DataType dt, java.lang.Throwable cause)
ConstructorDataTypeEncodeException(java.lang.String message, java.lang.Object value, DataType dt)
ConstructorDataTypeEncodeException(java.lang.String message, java.lang.Object value, DataType dt, java.lang.Throwable cause)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataType
getDataType()
Get the data typejava.lang.Object
getValue()
Get the requested value or representation
-
-
-
Constructor Detail
-
DataTypeEncodeException
public DataTypeEncodeException(java.lang.String message, java.lang.Object value, DataType dt)
Constructor- Parameters:
message
- the exception messagevalue
- the requested value or representationdt
- the data type
-
DataTypeEncodeException
public DataTypeEncodeException(java.lang.String message, java.lang.Object value, DataType dt, java.lang.Throwable cause)
Constructor- Parameters:
message
- the exception messagevalue
- the requested value or representationdt
- the data typecause
- the exception cause
-
DataTypeEncodeException
public DataTypeEncodeException(java.lang.Object value, DataType dt, java.lang.Throwable cause)
Constructor- Parameters:
value
- the requested value or representationdt
- the data typecause
- the exception cause
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
Get the requested value or representation- Returns:
- the requested value representation
-
getDataType
public DataType getDataType()
Get the data type- Returns:
- the data type
-
-