|
GemFire 7.0 | ||||||||
| 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
com.gemstone.gemfire.management.cli.CommandProcessingException
public class CommandProcessingException
Indicates exceptions while processing a GemFire Command Line Interface (CLI) commands. The exceptions could be due to
| Field Summary | |
|---|---|
static int |
ARGUMENT_INVALID
Error Type indicating invalid parameter of a command |
static int |
COMMAND_INVALID
Error Type indicating an invalid command |
static int |
COMMAND_INVALID_OR_UNAVAILABLE
Error Type indicating an unknown or unavailable command. |
static int |
COMMAND_NAME_AMBIGUOUS
Error Type indicating ambiguous command names |
static int |
OPTION_INVALID
Error Type indicating invalid named parameter of a command |
static int |
OPTION_VALUE_INVALID
Error Type indicating invalid value for a parameter of a command |
static int |
OPTION_VALUE_REQUIRED
Error Type indicating absence of value for named parameter of a command |
static int |
REQUIRED_ARGUMENT_MISSING
Error Type indicating absence of a mandatory parameter of a command |
static int |
REQUIRED_OPTION_MISSING
Error Type indicating absence of a mandatory named parameter of a command |
static int |
RESOURCE_ACCESS_ERROR
Error Type indicating IO errors while accessing File/Network resource |
| Constructor Summary | |
|---|---|
CommandProcessingException(String message,
int errorType,
Object errorData)
Constructs a new CommandProcessingException |
|
| Method Summary | |
|---|---|
Object |
getErrorData()
Returns the errorData associated with this CommandProcessingException instance |
int |
getErrorType()
Returns the errorType for this CommandProcessingException instance |
String |
toString()
Returns String representation of this CommandProcessingException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int COMMAND_INVALID
public static int COMMAND_NAME_AMBIGUOUS
public static int COMMAND_INVALID_OR_UNAVAILABLE
public static int OPTION_INVALID
public static int ARGUMENT_INVALID
public static int OPTION_VALUE_INVALID
public static int REQUIRED_OPTION_MISSING
public static int REQUIRED_ARGUMENT_MISSING
public static int OPTION_VALUE_REQUIRED
public static int RESOURCE_ACCESS_ERROR
| Constructor Detail |
|---|
public CommandProcessingException(String message,
int errorType,
Object errorData)
message - error messageerrorType - one of the error types defined by
CommandProcessingExceptionerrorData - additional information about the error| Method Detail |
|---|
public int getErrorType()
CommandProcessingException instance
CommandProcessingException instancepublic Object getErrorData()
CommandProcessingException instance
CommandProcessingException instancepublic String toString()
CommandProcessingException
toString in class ThrowableCommandProcessingException
|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||