org.apache.myfaces.extensions.cdi.core.api
Class UnhandledException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.myfaces.extensions.cdi.core.api.UnhandledException
All Implemented Interfaces:
Serializable

public class UnhandledException
extends RuntimeException

Exception wrapper for checked exception for throwing them as RuntimeException and processing them on a different level of the call-stack.

Author:
Gerhard Petracek
See Also:
Serialized Form

Constructor Summary
UnhandledException(String message)
           
UnhandledException(String message, Throwable cause)
           
UnhandledException(Throwable cause)
           
 
Method Summary
 
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
 

Constructor Detail

UnhandledException

public UnhandledException(String message)
Parameters:
message - message for the exception

UnhandledException

public UnhandledException(Throwable cause)
Parameters:
cause - exception which should be wrapped in an RuntimeException

UnhandledException

public UnhandledException(String message,
                          Throwable cause)
Parameters:
message - message for the exception
cause - exception which should be wrapped in an RuntimeException


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.