|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ClientException | |
---|---|
com.sun.n1.sps.client | |
com.sun.n1.sps.model.user | |
com.sun.n1.sps.model.util |
Uses of ClientException in com.sun.n1.sps.client |
---|
Subclasses of ClientException in com.sun.n1.sps.client | |
---|---|
class |
CommandException
a CommandException results from an error while executing a command on the MasterServer. |
class |
ConfigurationException
A ConfigurationException results from an improper CLI directory layout or other startup problem. |
class |
ConversionException
A ConversionException results from a problem converting supplied arguments or converting the result. |
class |
IllegalArgumentsException
An IllegalArguentsException results from an illegal argument or illegal combination of arguments being passed. |
Methods in com.sun.n1.sps.client that throw ClientException | |
---|---|
CommandManager |
CommandManagerBuilder.build()
Loads and builds the CommandManager on which the various CLI commands can be executed. |
void |
CommandManager.clearSession()
Clears the current SessionID so that a subsequent call to this CommandManager will be unauthenticated. |
void |
CommandManager.close()
Shutdown connection to the MS. |
java.lang.Object |
CommandManager.convert(java.lang.String inStringToConvert,
java.lang.Class desiredClass)
Acquire an SPS Object based on the CLI string synatx specified in the "CLI Input Types" documentation Example: HostID hostID = (HostID) manager.convert("NM:myhost", HostID.class); This method uses the current SessionID as returned by getSessionID() for authentication to the Master Server. |
TypedList |
CommandManager.createEmptyList(java.lang.Class inPublicIfaceClass)
Create an empty TypedList of the desired type Example: HostIDSet hostSet = (HostIDSet) manager.createEmptySet(HostIDSet.class); |
TypedSet |
CommandManager.createEmptySet(java.lang.Class inPublicIfaceClass)
Create an empty TypedSet of the desired type Example: HostIDSet hostSet = (HostIDSet) manager.createEmptySet(HostIDSet.class); |
java.lang.Object |
CommandManager.execute(java.lang.String command,
java.util.Map arguments)
Execute CLI commands on the MasterServer. |
SessionID |
CommandManager.getSessionID()
Gets the current SessionID associated with this CommandManager. |
void |
CommandManager.setSessionID(SessionID inSessionID)
Sets the Session for this CommandManager to the specified SessionID. |
Uses of ClientException in com.sun.n1.sps.model.user |
---|
Subclasses of ClientException in com.sun.n1.sps.model.user | |
---|---|
class |
AuthenticationException
An AuthenticationException results from improper user name or password during login. |
Uses of ClientException in com.sun.n1.sps.model.util |
---|
Subclasses of ClientException in com.sun.n1.sps.model.util | |
---|---|
class |
NetworkException
A NetworkException results from a network problem. |
Methods in com.sun.n1.sps.model.util that return ClientException | |
---|---|
static ClientException |
ClientException.wrap(java.lang.Throwable inThrowable)
Returns a ClientException, wrapping any other throwable exception, if inThrowable is not an instance of inThrowable, and inThrowable otherwise. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |