org.springframework.richclient.command
Class CommandException

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
                  extended by org.springframework.richclient.command.CommandException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CommandNotOfRequiredTypeException, InvalidGroupMemberEncodingException, InvalidGroupMemberException

public class CommandException
extends ApplicationException

Indicates that a runtime or configuration error has occurred within the Command framework. This is a fairly generic exception. Before creating and throwing an instance of this type, consider if a more specific subclass would be more appropriate.

Since:
0.3
Author:
Kevin Stembridge
See Also:
Serialized Form

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

CommandException

public CommandException()
Creates a new CommandException.


CommandException

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

Parameters:
message - The detail message.

CommandException

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

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

CommandException

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

Parameters:
cause - The nested exception.


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