org.eclipse.core.runtime
Class AssertionFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.core.runtime.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 can be used without OSGi running.

This class is not intended to be instantiated or sub-classed by clients.

Since:
org.eclipse.equinox.common 3.2
See Also:
Assert, Serialized Form

Constructor Summary
AssertionFailedException(java.lang.String detail)
          Constructs a new exception with the given message.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssertionFailedException

public AssertionFailedException(java.lang.String detail)
Constructs a new exception with the given message.

Parameters:
detail - the message