Package ghidra.util.exception
Class AssertException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ghidra.util.exception.AssertException
-
- All Implemented Interfaces:
java.io.Serializable
public class AssertException extends java.lang.RuntimeException
AssertException
is used in situations that the programmer believes can't happen. If it does, then there is a programming error of some kind.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssertException()
Create a new AssertException with no message.AssertException(java.lang.String msg)
Create a new AssertException with the given message.AssertException(java.lang.String message, java.lang.Throwable throwable)
Create a new AssertException with the given message.AssertException(java.lang.Throwable t)
Create a new AssertException using another exception (Throwable) has occurred.
-
-
-
Constructor Detail
-
AssertException
public AssertException()
Create a new AssertException with no message.
-
AssertException
public AssertException(java.lang.String msg)
Create a new AssertException with the given message.- Parameters:
msg
- the exception message.
-
AssertException
public AssertException(java.lang.Throwable t)
Create a new AssertException using another exception (Throwable) has occurred. The message for this exception will be derived from the Throwable.- Parameters:
t
- the Throwable which caused this exception to be generated.
-
AssertException
public AssertException(java.lang.String message, java.lang.Throwable throwable)
Create a new AssertException with the given message.- Parameters:
msg
- the exception message.t
- the Throwable which caused this exception to be generated.
-
-