telosys.objects
Class ScreenError

java.lang.Object
  extended bytelosys.objects.ScreenError

public class ScreenError
extends java.lang.Object

ScreenError object
This object contains an error message received in the XML ScreenResponse.
It is the "client-side" JavaScript object corresponding to the ScreenError Java object on the "server-side"

Since:
v 1.1.0

Constructor Summary
protected ScreenError(number code, string text)
           
 
Method Summary
 number getCode()
          Returns the error code
 string getText()
          Returns the error text
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScreenError

protected ScreenError(number code,
                      string text)
Method Detail

getCode

public number getCode()
Returns the error code

Returns:
the error code

getText

public string getText()
Returns the error text

Returns:
the error text

toString

public java.lang.String toString()