org.objectweb.telosys.screen.core
Class ScreenError

java.lang.Object
  extended byorg.objectweb.telosys.screen.core.ScreenError

public class ScreenError
extends java.lang.Object

Error message ( code + text )


Constructor Summary
ScreenError(int iErrorCode)
          Constructor
ScreenError(int iErrorCode, java.lang.String sErrorMessage)
          Constructor
 
Method Summary
 int getCode()
          Returns the error code
 java.lang.String getText()
          Returns the error message
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScreenError

public ScreenError(int iErrorCode)
Constructor

Parameters:
iErrorCode -

ScreenError

public ScreenError(int iErrorCode,
                   java.lang.String sErrorMessage)
Constructor

Parameters:
iErrorCode -
sErrorMessage -
Method Detail

getCode

public int getCode()
Returns the error code

Returns:

getText

public java.lang.String getText()
Returns the error message

Returns:

toString

public java.lang.String toString()