org.jboss.arquillian.test.spi
Class ArquillianProxyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.arquillian.test.spi.ArquillianProxyException
All Implemented Interfaces:
Serializable

public class ArquillianProxyException
extends RuntimeException

Exception class used when a proxied exception cannot be created. This exception type is is thrown instead and contains information about the proxied class and a hint about why it could not be thrown.

Author:
Andy Gibson
See Also:
Serialized Form

Constructor Summary
ArquillianProxyException()
           
ArquillianProxyException(String message)
           
ArquillianProxyException(String message, String exceptionClassName, String reason, Throwable cause)
          ArquillianProxyException constructor based on an underlying exception that cannot be recreated.
ArquillianProxyException(String message, Throwable cause)
           
ArquillianProxyException(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

ArquillianProxyException

public ArquillianProxyException()

ArquillianProxyException

public ArquillianProxyException(String message,
                                Throwable cause)

ArquillianProxyException

public ArquillianProxyException(String message)

ArquillianProxyException

public ArquillianProxyException(Throwable cause)

ArquillianProxyException

public ArquillianProxyException(String message,
                                String exceptionClassName,
                                String reason,
                                Throwable cause)
ArquillianProxyException constructor based on an underlying exception that cannot be recreated.

Parameters:
message - Message from the proxied Exception
exceptionClassName - Class name of the proxied class type
reason - reason that the exception couldn't be re-created
cause - cause from the original exception


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