adapforms.exceptions
Class InvalidPathException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by adapforms.exceptions.AdapFormsException
                  extended by adapforms.exceptions.InvalidPathException
All Implemented Interfaces:
java.io.Serializable

public class InvalidPathException
extends AdapFormsException

Indicates that a specified path does not exist for the current form, is malformed or is used in a context where it does not make sense.

Author:
Henrik Gammelmark, geemark@cs.au.dk
See Also:
Serialized Form

Constructor Summary
InvalidPathException(FormPath path)
           
InvalidPathException(java.lang.String path)
           
InvalidPathException(java.lang.String path, java.lang.Exception cause)
           
InvalidPathException(java.lang.String path, java.lang.String details)
           
 
Method Summary
 java.lang.String getDetails()
          Error details, or null if not available.
 java.lang.String getPath()
          Get the path that has a problem.
 
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

InvalidPathException

public InvalidPathException(java.lang.String path)

InvalidPathException

public InvalidPathException(FormPath path)

InvalidPathException

public InvalidPathException(java.lang.String path,
                            java.lang.String details)

InvalidPathException

public InvalidPathException(java.lang.String path,
                            java.lang.Exception cause)
Method Detail

getPath

public java.lang.String getPath()
Get the path that has a problem.


getDetails

public java.lang.String getDetails()
Error details, or null if not available.