nz.ac.waikato.jdsl.core.api
Class InvalidMethodCallException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by nz.ac.waikato.jdsl.core.api.CoreException
                  extended by nz.ac.waikato.jdsl.core.api.InvalidMethodCallException
All Implemented Interfaces:
java.io.Serializable

public class InvalidMethodCallException
extends CoreException

InvalidMethodCallException is intended for use only in methods that you expect never to be called -- for instance, in the prev() method of the head node in a sequence. Therefore, only a bug will cause one of these to be actually created and thrown.

Version:
JDSL 2.1.1
Author:
David Ellis, based on a previous version by Mark Handy
See Also:
Serialized Form

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

InvalidMethodCallException

public InvalidMethodCallException(java.lang.String message)

InvalidMethodCallException

public InvalidMethodCallException(java.lang.String message,
                                  java.lang.Throwable cause)

InvalidMethodCallException

public InvalidMethodCallException(java.lang.Throwable cause)


Copyright © 2009 ModelJUnit Project. All Rights Reserved.