org.apache.maven.surefire.util
Class SurefireReflectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.maven.surefire.util.NestedRuntimeException
                  extended by org.apache.maven.surefire.util.SurefireReflectionException
All Implemented Interfaces:
Serializable

public class SurefireReflectionException
extends NestedRuntimeException

Exception indicating that surefire hard problems with reflection. This may be due to programming errors, incorrect configuration or incorrect dependencies, but is generally not recoverable and not relevant to handle.

Author:
Kristian Rosenvold
See Also:
Serialized Form

Constructor Summary
SurefireReflectionException(Throwable cause)
          Create a SurefireReflectionException with the specified cause.
 
Method Summary
 
Methods inherited from class org.apache.maven.surefire.util.NestedRuntimeException
contains, getCause, getMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SurefireReflectionException

public SurefireReflectionException(Throwable cause)
Create a SurefireReflectionException with the specified cause. The getMessage method of this exception object will return (cause == null ? "" : cause.toString()).

Parameters:
cause - The cause of this exception


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