org.sysunit
Class InvalidMethodException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.sysunit.InvalidMethodException
All Implemented Interfaces:
Serializable

public class InvalidMethodException
extends Exception

Indicates an attempt to reflect an invalid method from a SystemTestCase.

Version:
$Id: InvalidMethodException.java,v 1.1 2003/06/04 04:27:19 werken Exp $
Author:
Bob McWhirter
See Also:
SystemTestCase, Serialized Form

Constructor Summary
InvalidMethodException(Method method, String message)
          Construct.
 
Method Summary
 String getMessage()
           
 Method getMethod()
          Retrieve the invalid Method.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

InvalidMethodException

public InvalidMethodException(Method method,
                              String message)
Construct.

Parameters:
method - The invalid method.
message - The error message.
Method Detail

getMethod

public Method getMethod()
Retrieve the invalid Method.

Returns:
The invalid method.

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable
See Also:
Throwable


Copyright © 2003-2009 SpritSoft, Inc.. All Rights Reserved.