Package com.mks.api.response
Class UnsupportedApplicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.mks.api.response.APIException
-
- com.mks.api.response.ApplicationException
-
- com.mks.api.response.UnsupportedApplicationException
-
- All Implemented Interfaces:
FieldContainer
,java.io.Serializable
public class UnsupportedApplicationException extends ApplicationException
Exception indicating the application is unknown/invalid. TheCommand
class has a set of constants that can be used to avoid this exception.- See Also:
Command
, Serialized Form
-
-
Field Summary
-
Fields inherited from class com.mks.api.response.APIException
cause, fields, message, response, showStackTrace
-
-
Constructor Summary
Constructors Constructor Description UnsupportedApplicationException()
Default constructor.UnsupportedApplicationException(java.lang.String msg)
Default constructor.UnsupportedApplicationException(java.lang.Throwable t)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getApplicationName()
Retrieves the application name that caused the exception.-
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
-
UnsupportedApplicationException
public UnsupportedApplicationException()
Default constructor.
-
UnsupportedApplicationException
public UnsupportedApplicationException(java.lang.String msg)
Default constructor.- Parameters:
msg
- The exception message.
-
UnsupportedApplicationException
public UnsupportedApplicationException(java.lang.Throwable t)
Default constructor.- Parameters:
t
- The linkedThrowable
object.
-
-