org.olat.core.logging
Class AssertException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.olat.core.logging.OLATRuntimeException
                  extended by org.olat.core.logging.AssertException
All Implemented Interfaces:
java.io.Serializable

public class AssertException
extends OLATRuntimeException

Description:
used when a bug is detected e.g. if (pos > array.length) throw new AssertException

Author:
Felix Jost
See Also:
Serialized Form

Constructor Summary
AssertException(java.lang.String logMsg)
          Generic signature.
AssertException(java.lang.String logMsg, java.lang.Throwable cause)
          Includes throwable.
 
Method Summary
 
Methods inherited from class org.olat.core.logging.OLATRuntimeException
getLogMsg, getThrowingClazz, getUsrMsgArgs, getUsrMsgKey, getUsrMsgPackage, throwableToHtml
 
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
 

Constructor Detail

AssertException

public AssertException(java.lang.String logMsg,
                       java.lang.Throwable cause)
Includes throwable.

Parameters:
logMsg -
cause -

AssertException

public AssertException(java.lang.String logMsg)
Generic signature.

Parameters:
logMsg -