Package com.mks.api.response
Class NoCredentialsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.mks.api.response.APIException
-
- com.mks.api.response.ApplicationException
-
- com.mks.api.response.ApplicationConnectionException
-
- com.mks.api.response.NoCredentialsException
-
- All Implemented Interfaces:
FieldContainer
,java.io.Serializable
public class NoCredentialsException extends ApplicationConnectionException
Exception indicating that credentials were missing or invalid while attemping to establish a connection to the Integrity Server. This exception occurs when the --username and --password options are missing from a command. TheCmdRunner
has methods to set the default values for these options if they are not specified in the command explicitly.- See Also:
CmdRunner
, Serialized Form
-
-
Field Summary
-
Fields inherited from class com.mks.api.response.APIException
cause, fields, message, response, showStackTrace
-
-
Constructor Summary
Constructors Constructor Description NoCredentialsException()
Default constructor.NoCredentialsException(java.lang.String msg)
Default constructor.NoCredentialsException(java.lang.Throwable t)
Default constructor.
-
Method Summary
-
Methods inherited from class com.mks.api.response.APIException
add, addField, contains, getExceptionId, getField, getField, getFieldListSize, getFields, getMessage, getResponse, printStackTrace, printStackTrace, printStackTrace, setMessage, setResponse, setShowStackTrace
-
-
-
-
Constructor Detail
-
NoCredentialsException
public NoCredentialsException()
Default constructor.
-
NoCredentialsException
public NoCredentialsException(java.lang.String msg)
Default constructor.- Parameters:
msg
- The exception message.
-
NoCredentialsException
public NoCredentialsException(java.lang.Throwable t)
Default constructor.- Parameters:
t
- The linkedThrowable
object.
-
-