Class SurefireReflectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.maven.surefire.api.util.SurefireReflectionException
-
- All Implemented Interfaces:
Serializable
public class SurefireReflectionException extends RuntimeException
Exception indicating that surefire had 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
Constructors Constructor Description SurefireReflectionException(Throwable cause)
Create aSurefireReflectionException
with the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SurefireReflectionException
public SurefireReflectionException(Throwable cause)
Create aSurefireReflectionException
with the specified cause. The methodThrowable.getMessage()
of this exception object will returncause == null ? "" : cause.toString()
.- Parameters:
cause
- The cause of this exception
-
-