Package net.sf.jguiraffe.gui.app
Class ApplicationRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.lang.exception.NestableRuntimeException
-
- net.sf.jguiraffe.gui.app.ApplicationRuntimeException
-
- All Implemented Interfaces:
Serializable
,org.apache.commons.lang.exception.Nestable
public class ApplicationRuntimeException extends org.apache.commons.lang.exception.NestableRuntimeException
An exception class for reporting runtime exceptions that are related to
objects or operations invoked on them.Application
- Version:
- $Id: ApplicationRuntimeException.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationRuntimeException(String msg)
Creates a new instance ofApplicationRuntimeException
and sets the error message.ApplicationRuntimeException(String msg, Throwable cause)
Creates a new instance ofApplicationRuntimeException
and sets the error message and the root cause.ApplicationRuntimeException(Throwable cause)
Creates a new instance ofApplicationRuntimeException
and sets the root cause.
-
Method Summary
-
Methods inherited from class org.apache.commons.lang.exception.NestableRuntimeException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ApplicationRuntimeException
public ApplicationRuntimeException(String msg)
Creates a new instance ofApplicationRuntimeException
and sets the error message.- Parameters:
msg
- the error message
-
ApplicationRuntimeException
public ApplicationRuntimeException(String msg, Throwable cause)
Creates a new instance ofApplicationRuntimeException
and sets the error message and the root cause.- Parameters:
msg
- the error messagecause
- the root cause
-
ApplicationRuntimeException
public ApplicationRuntimeException(Throwable cause)
Creates a new instance ofApplicationRuntimeException
and sets the root cause.- Parameters:
cause
- the root cause
-
-