org.fest.reflect.exception
Class ReflectionError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.fest.reflect.exception.ReflectionError
All Implemented Interfaces:
Serializable

public final class ReflectionError
extends RuntimeException

Understands an error raised when using reflection.

Author:
Alex Ruiz
See Also:
Serialized Form

Constructor Summary
ReflectionError(String message)
          Creates a new ReflectionError.
ReflectionError(String message, Throwable cause)
          Creates a new ReflectionError.
 
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

ReflectionError

public ReflectionError(String message)
Creates a new ReflectionError.

Parameters:
message - the detail message.

ReflectionError

public ReflectionError(String message,
                       Throwable cause)
Creates a new ReflectionError.

Parameters:
message - the detail message.
cause - the cause of the exception.


Copyright © 2007-2010 FEST (Fixtures for Easy Software Testing). All Rights Reserved.