de.unido.ls5.eti.client
Class EtiRemoteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.unido.ls5.eti.client.EtiRemoteException
Direct Known Subclasses:
EtiAxisException

public class EtiRemoteException
extends Exception

Exception that indicates that something went wrong during the remote execution of a tool.

Rating red

Constructor Summary
EtiRemoteException()
          Instanciate a jETI Exception
EtiRemoteException(int errorId)
          Instanciate a jETI Exception with a given error ID.
EtiRemoteException(String message)
          Instanciate a jETI Exception with given message.
EtiRemoteException(String message, int errorId)
          Instanciate a jETI Exception with given message and error ID.
EtiRemoteException(String message, Throwable cause)
          Instanciate a jETI Exception with given message and causing throwable.
EtiRemoteException(String message, Throwable cause, int errorId)
          Instanciate a jETI Exception with given message, causing throwable and error ID.
EtiRemoteException(Throwable cause)
          Instanciate a jETI Exception with causing throwable.
EtiRemoteException(Throwable cause, int errorId)
          Instanciate a jETI Exception with causing throwable and error ID.
 
Method Summary
 int getErrorId()
          Retrieve the ID of the error.
 
Methods inherited from class java.lang.Throwable
getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EtiRemoteException

public EtiRemoteException()
Instanciate a jETI Exception


EtiRemoteException

public EtiRemoteException(String message)
Instanciate a jETI Exception with given message.

Parameters:
message - the given message

EtiRemoteException

public EtiRemoteException(String message,
                          Throwable cause)
Instanciate a jETI Exception with given message and causing throwable.

Parameters:
message - the given message
cause - the causing throwable

EtiRemoteException

public EtiRemoteException(Throwable cause)
Instanciate a jETI Exception with causing throwable.

Parameters:
cause - the causing throwable

EtiRemoteException

public EtiRemoteException(int errorId)
Instanciate a jETI Exception with a given error ID.

Parameters:
errorId - the ID of the error

EtiRemoteException

public EtiRemoteException(String message,
                          int errorId)
Instanciate a jETI Exception with given message and error ID.

Parameters:
message - the given message
errorId - the ID of the error

EtiRemoteException

public EtiRemoteException(String message,
                          Throwable cause,
                          int errorId)
Instanciate a jETI Exception with given message, causing throwable and error ID.

Parameters:
message - the given message
cause - the causing throwable
errorId - the ID of the error

EtiRemoteException

public EtiRemoteException(Throwable cause,
                          int errorId)
Instanciate a jETI Exception with causing throwable and error ID.

Parameters:
cause - the causing throwable
errorId - the ID of the error
Method Detail

getErrorId

public int getErrorId()
Retrieve the ID of the error. refer to external documentation for specific error codes.

Returns:
the id of the error or \code{-1}, if no error code has been provided.