Package ghidra.program.model.listing
Class VariableSizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ghidra.util.exception.UsrException
ghidra.util.exception.InvalidInputException
ghidra.program.model.listing.VariableSizeException
- All Implemented Interfaces:
Serializable
VariableSizeException
is thrown when a variable
data-type exceeds storage constraints.- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor.VariableSizeException
(String msg, boolean canForce) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
canForce()
Returns true if the operation could be successful if forced.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VariableSizeException
Constructor. The canForce value is assumed to be false.- Parameters:
msg
- message text
-
VariableSizeException
Constructor.- Parameters:
msg
- message textcanForce
- if true conveys to the user that the operation may be successful if forced.
-
-
Method Details
-
canForce
public boolean canForce()Returns true if the operation could be successful if forced.
-