Class ReflectorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.plexus.util.reflection.ReflectorException
- All Implemented Interfaces:
Serializable
Exception indicating that an error has occurred while instantiating a class with the Reflector class. This exception
is meant to put a more user-friendly face on the myriad other exceptions throws during reflective object creation.
- Author:
- John Casey
- See Also:
-
Constructor Summary
ConstructorDescriptionReflectorException
(String msg) Create a new ReflectorException with the specified message.ReflectorException
(String msg, Throwable root) Create a new ReflectorException with the specified message and root cause.ReflectorException
(Throwable root) Create a new ReflectorException with the specified root cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReflectorException
public ReflectorException() -
ReflectorException
Create a new ReflectorException with the specified message.- Parameters:
msg
- The message.
-
ReflectorException
Create a new ReflectorException with the specified root cause.- Parameters:
root
- The root cause.
-
ReflectorException
-