jdsl.core.api
Class InvalidMethodCallException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjdsl.core.api.CoreException
                  extended byjdsl.core.api.InvalidMethodCallException
All Implemented Interfaces:
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

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

InvalidMethodCallException

public InvalidMethodCallException(String message)

InvalidMethodCallException

public InvalidMethodCallException(String message,
                                  Throwable cause)

InvalidMethodCallException

public InvalidMethodCallException(Throwable cause)