ch.ethz.iks.r_osgi
Class RemoteOSGiException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ch.ethz.iks.r_osgi.RemoteOSGiException
All Implemented Interfaces:
java.io.Serializable

public final class RemoteOSGiException
extends java.lang.RuntimeException

RemoteOSGiException is thrown when an internal error occurs.

Since:
0.1
Author:
Jan S. Rellermeyer, ETH Zurich
See Also:
Serialized Form

Constructor Summary
RemoteOSGiException(java.lang.String message)
          creates a new RemoteOSGiException from error message.
RemoteOSGiException(java.lang.String message, java.lang.Throwable nested)
          creates a new RemoteOSGiException with error message and nested Throwable.
RemoteOSGiException(java.lang.Throwable nested)
          creates a new RemoteOSGiException that nests a Throwable.
 
Method Summary
 java.lang.Throwable getCause()
          get the nested exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteOSGiException

public RemoteOSGiException(java.lang.String message)
creates a new RemoteOSGiException from error message.

Parameters:
message - the error message.

RemoteOSGiException

public RemoteOSGiException(java.lang.Throwable nested)
creates a new RemoteOSGiException that nests a Throwable.

Parameters:
nested - the nested Exception.

RemoteOSGiException

public RemoteOSGiException(java.lang.String message,
                           java.lang.Throwable nested)
creates a new RemoteOSGiException with error message and nested Throwable.

Parameters:
message - the error message.
nested - the nested Exception.
Method Detail

getCause

public java.lang.Throwable getCause()
get the nested exception.

Overrides:
getCause in class java.lang.Throwable
Returns:
the nested exception.


Copyright © 2009 IKS, ETH Zurich. All Rights Reserved.