org.apache.struts.chain.commands
Class InvalidPathException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.struts.chain.commands.InvalidPathException
All Implemented Interfaces:
Serializable

public class InvalidPathException
extends Exception

Exception thrown when no mapping can be found for the specified path.

Version:
$Rev: 471754 $ $Date: 2005-11-05 21:44:59 -0500 (Sat, 05 Nov 2005) $
See Also:
Serialized Form

Constructor Summary
InvalidPathException()
           Default, no-argument constructor.
InvalidPathException(String message, String path)
           Constructor to inject message and path upon instantiation.
 
Method Summary
 String getPath()
           Return the invalid path causing the exception.
 
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()

Default, no-argument constructor.


InvalidPathException

public InvalidPathException(String message,
                            String path)

Constructor to inject message and path upon instantiation.

Parameters:
message - The error or warning message.
path - The invalid path.
Method Detail

getPath

public String getPath()

Return the invalid path causing the exception.

Returns:
The invalid path causing the exception.


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.