|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.richclient.application.ApplicationException
org.springframework.richclient.command.CommandException
org.springframework.richclient.command.CommandNotOfRequiredTypeException
public class CommandNotOfRequiredTypeException
Indicates that a command object was not of the expected type.
| Constructor Summary | |
|---|---|
CommandNotOfRequiredTypeException(String commandId,
Class requiredType,
Class actualType)
Creates a new CommandNotOfRequiredTypeException. |
|
| Method Summary | |
|---|---|
Class |
getActualType()
Returns the actual type of the command. |
String |
getCommandId()
Returns the id of the command |
Class |
getRequiredType()
Returns the type that the command was expected to be. |
| 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 |
|---|
public CommandNotOfRequiredTypeException(String commandId,
Class requiredType,
Class actualType)
CommandNotOfRequiredTypeException.
commandId - The id of the command.requiredType - The required type of the command.actualType - The actual type of the command.| Method Detail |
|---|
public Class getActualType()
public String getCommandId()
public Class getRequiredType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||