|
||||||||||
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.InvalidGroupMemberException
public class InvalidGroupMemberException
Indicates that an object is not a valid member of a CommandGroup
.
Usually, a command group member will be a subclass of AbstractCommand
, however some
command group implementations may define more specific rules about what types of members they
will accept.
Constructor Summary | |
---|---|
InvalidGroupMemberException(Class invalidMemberClass,
Class commandGroupClass)
Creates a new InvalidGroupMemberException . |
|
InvalidGroupMemberException(String message,
Class invalidMemberClass,
Class commandGroupClass)
Creates a new InvalidGroupMemberException . |
|
InvalidGroupMemberException(String message,
Class invalidMemberClass,
Class commandGroupClass,
Throwable cause)
Creates a new InvalidGroupMemberException . |
Method Summary | |
---|---|
Class |
getCommandGroupClass()
Returns the class of the command group that the member is invalid for. |
Class |
getInvalidMemberClass()
Returns the class of the invalid member. |
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 InvalidGroupMemberException(Class invalidMemberClass, Class commandGroupClass)
InvalidGroupMemberException
.
invalidMemberClass
- The class of the invalid member.commandGroupClass
- The class of the command group that the member is not valid for.public InvalidGroupMemberException(String message, Class invalidMemberClass, Class commandGroupClass)
InvalidGroupMemberException
.
message
- The detail message.invalidMemberClass
- The class of the invalid member.commandGroupClass
- The class of the command group that the member is invalid for.public InvalidGroupMemberException(String message, Class invalidMemberClass, Class commandGroupClass, Throwable cause)
InvalidGroupMemberException
.
message
- The detail message.invalidMemberClass
- The class of the invalid member.commandGroupClass
- The class of the command group that the member is invalid for.cause
- The nested exception.Method Detail |
---|
public Class getCommandGroupClass()
public Class getInvalidMemberClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |