org.fuin.utils4j
Class InvokeMethodFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.fuin.utils4j.InvokeMethodFailedException
All Implemented Interfaces:
java.io.Serializable

public final class InvokeMethodFailedException
extends java.lang.Exception

Calling a method with reflection failed. Used to wrap all the different exceptions when using reflection.

See Also:
Serialized Form

Constructor Summary
InvokeMethodFailedException(java.lang.String message)
          Constructor with error message.
InvokeMethodFailedException(java.lang.String message, java.lang.Throwable cause)
          Constructor with error message and cause.
 
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

InvokeMethodFailedException

public InvokeMethodFailedException(java.lang.String message)
Constructor with error message.

Parameters:
message - Message.

InvokeMethodFailedException

public InvokeMethodFailedException(java.lang.String message,
                                   java.lang.Throwable cause)
Constructor with error message and cause.

Parameters:
message - Message.
cause - Exception that caused the failure.


Copyright © 2009 Future Invent Informationsmanagement GmbH. All Rights Reserved.