org.eclipse.net4j.util
Class WrappedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.net4j.util.WrappedException
All Implemented Interfaces:
Serializable

public class WrappedException
extends RuntimeException

Author:
Eike Stepper
See Also:
Serialized Form
No Extend
This class is not intended to be subclassed by clients.

Method Summary
 Exception exception()
           
static Exception unwrap(Exception exception)
           
static RuntimeException wrap(Exception exception)
           
static RuntimeException wrap(Exception exception, String message)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Method Detail

exception

public Exception exception()

wrap

public static RuntimeException wrap(Exception exception,
                                    String message)
Since:
3.1

wrap

public static RuntimeException wrap(Exception exception)

unwrap

public static Exception unwrap(Exception exception)


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.