org.codehaus.plexus.util.reflection
Class ReflectorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.codehaus.plexus.util.reflection.ReflectorException
All Implemented Interfaces:
java.io.Serializable

public class ReflectorException
extends java.lang.Exception

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:
Serialized Form

Constructor Summary
ReflectorException()
          Create a new ReflectorException.
ReflectorException(java.lang.String msg)
          Create a new ReflectorException with the specified message.
ReflectorException(java.lang.String msg, java.lang.Throwable root)
          Create a new ReflectorException with the specified message and root cause.
ReflectorException(java.lang.Throwable root)
          Create a new ReflectorException with the specified root cause.
 
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

ReflectorException

public ReflectorException()
Create a new ReflectorException.


ReflectorException

public ReflectorException(java.lang.String msg)
Create a new ReflectorException with the specified message.

Parameters:
msg - The message.

ReflectorException

public ReflectorException(java.lang.Throwable root)
Create a new ReflectorException with the specified root cause.

Parameters:
root - The root cause.

ReflectorException

public ReflectorException(java.lang.String msg,
                          java.lang.Throwable root)
Create a new ReflectorException with the specified message and root cause.

Parameters:
msg - The message.
root - The root cause.


Copyright © 2001-2006 Codehaus. All Rights Reserved.