Package net.sf.jguiraffe.gui.app
Class ApplicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.sf.jguiraffe.gui.app.ApplicationException
-
- All Implemented Interfaces:
Serializable
public class ApplicationException extends Exception
An exception class that indicates error conditions related to the
Application
class.The application framework contains a startup class for starting a Java GUI application. Error conditions occurring during the startup phase will cause exceptions of this type being thrown.
- Version:
- $Id: ApplicationException.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApplicationException()
Creates a new instance ofApplicationException
without further information.ApplicationException(String msg)
Creates a new instance ofApplicationException
and initializes it with an error message.ApplicationException(String msg, Throwable cause)
Creates a new instance ofApplicationException
and initializes it with an error message and a root cause.ApplicationException(Throwable cause)
Creates a new instance ofApplicationException
and initializes it with the root cause of this exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ApplicationException
public ApplicationException()
Creates a new instance ofApplicationException
without further information.
-
ApplicationException
public ApplicationException(String msg)
Creates a new instance ofApplicationException
and initializes it with an error message.- Parameters:
msg
- the error message
-
ApplicationException
public ApplicationException(String msg, Throwable cause)
Creates a new instance ofApplicationException
and initializes it with an error message and a root cause.- Parameters:
msg
- the error messagecause
- the root cause for this exception
-
ApplicationException
public ApplicationException(Throwable cause)
Creates a new instance ofApplicationException
and initializes it with the root cause of this exception.- Parameters:
cause
- the root cause for this exception
-
-