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

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.InvalidAccessorException
All Implemented Interfaces:
java.io.Serializable

public class InvalidAccessorException
extends CoreException

Used when an accessor (position or locator) is invalid, either internally invalid or invalid with respect to a particular container. Cases when it would be thrown:

  1. accessor has been marked invalid by some sort of invalidate() method
  2. accessor passed to a method is null
  3. accessor passed to a method is foreign (is of the wrong implementation type or is contained by another container)

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

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

InvalidAccessorException

public InvalidAccessorException(java.lang.String message)

InvalidAccessorException

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

InvalidAccessorException

public InvalidAccessorException(java.lang.Throwable cause)


Copyright © 2009 ModelJUnit Project. All Rights Reserved.