org.springframework.richclient.application
Class ApplicationException

Show UML class diagram
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.richclient.application.ApplicationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CommandException, ConfigurationException

public class ApplicationException
extends RuntimeException

Indicates that an application-level programming error or a runtime configuration error has occurred.

This exception should not be thrown for errors such as invalid user input or data access errors. Basically, this represents a defect in the program or its runtime configuration. This is a very general top-level exception. Before creating and throwing a new instance of this type, consider if a more specific subclass would be more appropriate.

See Also:
Serialized Form

Constructor Summary
ApplicationException()
          Creates a new ApplicationException.
ApplicationException(String message)
          Creates a new ApplicationException with the specified message.
ApplicationException(String message, Throwable cause)
          Creates a new ApplicationException with the specified message and nested exception.
ApplicationException(Throwable cause)
          Creates a new ApplicationException with the specified nested exception.
 
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

ApplicationException

public ApplicationException()
Creates a new ApplicationException.


ApplicationException

public ApplicationException(String message)
Creates a new ApplicationException with the specified message.

Parameters:
message - The detail message.

ApplicationException

public ApplicationException(String message,
                            Throwable cause)
Creates a new ApplicationException with the specified message and nested exception.

Parameters:
message - The detail message.
cause - The nested exception.

ApplicationException

public ApplicationException(Throwable cause)
Creates a new ApplicationException with the specified nested exception.

Parameters:
cause - The nested exception.


Copyright © 2004-2009 The Spring Framework. All Rights Reserved.