org.eclipse.stp.core.infrastructure.assertion
Class AssertionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.stp.core.infrastructure.assertion.AssertionFailedException
- All Implemented Interfaces:
- java.io.Serializable
public class AssertionFailedException
- extends java.lang.RuntimeException
AssertionFailedException
is a runtime exception thrown by some
of the methods in Assert
.
This class is not declared public to prevent some misuses; programs that
catch or otherwise depend on assertion failures are susceptible to unexpected
breakage when assertions in the code are added or removed.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AssertionFailedException
public AssertionFailedException(java.lang.String detail)
- Constructs a new exception with the given message.
AssertionFailedException
public AssertionFailedException(java.lang.Throwable t)
- Constructs a new exception with the given message.
getWrappedException
public final java.lang.Throwable getWrappedException()