org.jboss.wsf.common.injection
Class InjectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.wsf.common.injection.InjectionException
All Implemented Interfaces:
java.io.Serializable

public class InjectionException
extends java.lang.RuntimeException

Represents generic injection error.

Author:
Richard Opalka
See Also:
Serialized Form

Constructor Summary
InjectionException()
          Constructor.
InjectionException(java.lang.String message)
          Constructor.
InjectionException(java.lang.String message, java.lang.Throwable cause)
          Constructor.
InjectionException(java.lang.Throwable cause)
          Constructor.
 
Method Summary
static void rethrow(java.lang.Exception reason)
          Rethrows Injection exception that will wrap passed reason.
static void rethrow(java.lang.String message, java.lang.Exception reason)
          Rethrows Injection exception that will wrap passed reason.
 
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

InjectionException

public InjectionException()
Constructor.


InjectionException

public InjectionException(java.lang.String message)
Constructor.

Parameters:
message -

InjectionException

public InjectionException(java.lang.Throwable cause)
Constructor.

Parameters:
cause -

InjectionException

public InjectionException(java.lang.String message,
                          java.lang.Throwable cause)
Constructor.

Parameters:
message -
cause -
Method Detail

rethrow

public static void rethrow(java.lang.Exception reason)
Rethrows Injection exception that will wrap passed reason.

Parameters:
reason - to wrap.

rethrow

public static void rethrow(java.lang.String message,
                           java.lang.Exception reason)
Rethrows Injection exception that will wrap passed reason.

Parameters:
message - custom message
reason - to wrap.


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.