org.jboss.resteasy.core
Class ExceptionAdapter

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.resteasy.core.ExceptionAdapter
All Implemented Interfaces:
java.io.Serializable

public class ExceptionAdapter
extends java.lang.RuntimeException

A ExceptionAdapter.

Version:
$Revision: $
Author:
Serialized Form

Constructor Summary
ExceptionAdapter(java.lang.Exception e)
          Create a new ExceptionAdapter.
ExceptionAdapter(java.lang.String message, java.lang.Exception e)
           
 
Method Summary
 void printStackTrace()
          FIXME Comment this
 void printStackTrace(java.io.PrintStream s)
          FIXME Comment this
 void printStackTrace(java.io.PrintWriter s)
          FIXME Comment this
 void rethrow()
          Rethrows the original exception class.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionAdapter

public ExceptionAdapter(java.lang.Exception e)
Create a new ExceptionAdapter.

Parameters:
e -

ExceptionAdapter

public ExceptionAdapter(java.lang.String message,
                        java.lang.Exception e)
Method Detail

printStackTrace

public void printStackTrace()
FIXME Comment this

Overrides:
printStackTrace in class java.lang.Throwable
See Also:
java.lang.Throwable#printStackTrace()

printStackTrace

public void printStackTrace(java.io.PrintStream s)
FIXME Comment this

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s -
See Also:
java.lang.Throwable#printStackTrace(java.io.PrintStream)

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
FIXME Comment this

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s -
See Also:
java.lang.Throwable#printStackTrace(java.io.PrintWriter)

rethrow

public void rethrow()
             throws java.lang.Exception
Rethrows the original exception class.

Throws:
java.lang.Exception


Copyright © 2010. All Rights Reserved.