You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.




org.mozilla.jss.util
Class AssertionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.mozilla.jss.util.AssertionException
All Implemented Interfaces:
java.io.Serializable

public class AssertionException
extends java.lang.RuntimeException

Assertion exceptions are thrown when assertion code is invoked and fails to operate properly. They subclass Error, so they will not be caught by exception handlers. Instead, they will cause the VM to halt and print a stack trace.

See Also:
Assert, org.mozilla.jss.util.Debug, Serialized Form

Constructor Summary
AssertionException()
           
AssertionException(java.lang.String msg)
           
 
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

AssertionException

public AssertionException()

AssertionException

public AssertionException(java.lang.String msg)