DBAbstract API Documentation

ro.raducora.utils.protocol
Class RemoteException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--ro.raducora.utils.protocol.RemoteException
All Implemented Interfaces:
java.io.Serializable

public class RemoteException
extends java.lang.Exception

Author:
Radu Coravu
See Also:
Serialized Form

Constructor Summary
RemoteException()
          Wrapps on the local exception
RemoteException(java.lang.Exception local)
          Wrapps on the local exception
 
Method Summary
 java.lang.String getMessage()
          Return the exception's message
 java.lang.Exception getRemoteException()
          Gets the original wrapped exception
 java.lang.String toString()
          Return the exception's message
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteException

public RemoteException(java.lang.Exception local)
Wrapps on the local exception

Parameters:
local - the local exception to wrap

RemoteException

public RemoteException()
Wrapps on the local exception

Method Detail

toString

public java.lang.String toString()
Return the exception's message

Overrides:
toString in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Return the exception's message

Overrides:
getMessage in class java.lang.Throwable

getRemoteException

public java.lang.Exception getRemoteException()
Gets the original wrapped exception

Returns:
the exception that took place on the server side

DBAbstract API Documentation

© Copyright Radu Coravu 2002 - 2004.