org.gsm.oneapi.responsebean.location
Class TerminalLocation.RequestError.ServiceException

java.lang.Object
  extended by org.gsm.oneapi.responsebean.location.TerminalLocation.RequestError.ServiceException
Enclosing class:
TerminalLocation.RequestError

public static class TerminalLocation.RequestError.ServiceException
extends java.lang.Object

for the terminal location the class of error that can be raised is a service exception


Constructor Summary
TerminalLocation.RequestError.ServiceException()
          default constructor
TerminalLocation.RequestError.ServiceException(java.lang.String messageId, java.lang.String text, java.lang.String variables)
          utility constructor to create a ServiceException object with all fields set
 
Method Summary
 java.lang.String getMessageId()
          return the distinctive error message identifier
 java.lang.String getText()
          return the textual representation of the error
 java.lang.String getVariables()
          return any instance specific error variables
 void setMessageId(java.lang.String messageId)
          set the distinctive error message identifier.
 void setText(java.lang.String text)
          set the textual representation of the error.
 void setVariables(java.lang.String variables)
          set any instance specific error variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerminalLocation.RequestError.ServiceException

public TerminalLocation.RequestError.ServiceException()
default constructor


TerminalLocation.RequestError.ServiceException

public TerminalLocation.RequestError.ServiceException(java.lang.String messageId,
                                                      java.lang.String text,
                                                      java.lang.String variables)
utility constructor to create a ServiceException object with all fields set

Parameters:
messageId -
text -
variables -
Method Detail

getMessageId

public java.lang.String getMessageId()
return the distinctive error message identifier


getText

public java.lang.String getText()
return the textual representation of the error


getVariables

public java.lang.String getVariables()
return any instance specific error variables


setMessageId

public void setMessageId(java.lang.String messageId)
set the distinctive error message identifier. This is called internally to set the contents according to the JSON response.


setText

public void setText(java.lang.String text)
set the textual representation of the error. This is called internally to set the contents according to the JSON response.


setVariables

public void setVariables(java.lang.String variables)
set any instance specific error variables. This is called internally to set the contents according to the JSON response.