org.jboss.test.cmp2.fkmapping.ejb
Class AssertionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.ejb.EJBException (src) 
                  extended byorg.jboss.test.cmp2.fkmapping.ejb.AssertionException
All Implemented Interfaces:
java.io.Serializable

public class AssertionException
extends EJBException (src)

Instances of this exception is thrown from assertTrue(msg,expression) methods if expression evaluates to false.

See Also:
Serialized Form

Constructor Summary
AssertionException(java.lang.String message)
           
AssertionException(java.lang.String message, java.lang.Exception cause)
           
 
Methods inherited from class javax.ejb.EJBException (src)
getCausedByException, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssertionException

public AssertionException(java.lang.String message)

AssertionException

public AssertionException(java.lang.String message,
                          java.lang.Exception cause)