edu.uky.rch.ept.data.filesystem.cxpath
Class InvalidAxisException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byedu.uky.rch.ept.data.filesystem.cxpath.CXPathException
              extended byedu.uky.rch.ept.data.filesystem.cxpath.InvalidAxisException
All Implemented Interfaces:
Serializable

public class InvalidAxisException
extends CXPathException

Exception indicating an invalid CXPath axis.

Author:
neil
See Also:
Serialized Form

Constructor Summary
InvalidAxisException(String axis)
          Create an InvalidAxisException for the specified axis name.
InvalidAxisException(String axis, String message)
          Create an InvalidAxisException for the specified axis name, with the specified detail message.
 
Method Summary
 String getAxis()
          Get the axis name.
 
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

InvalidAxisException

public InvalidAxisException(String axis)
Create an InvalidAxisException for the specified axis name. The detail message, retrievable with Throwable.getMessage(), is initialized to the axis name.

Parameters:
axis - The name of the invalid axis.

InvalidAxisException

public InvalidAxisException(String axis,
                            String message)
Create an InvalidAxisException for the specified axis name, with the specified detail message.

Parameters:
axis - The name of the invalid axis.
message - The detail message for the exception.
Method Detail

getAxis

public String getAxis()
Get the axis name.

Returns:
the axis name