com.virtualweaver.xotics.dialect.xape.engine
Class XapException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.virtualweaver.xotics.dialect.xape.engine.XapException
All Implemented Interfaces:
java.io.Serializable

public class XapException
extends java.lang.Exception

This is the class to use to throw XAPE exceptions.

Version:
2.1
See Also:
Serialized Form

Constructor Summary
XapException(java.lang.String loc, java.lang.String msg)
          Constructor, makes a message composed with a code location and a contextual message.
 
Method Summary
 java.lang.String getLocation()
          Getter for exception location
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XapException

public XapException(java.lang.String loc,
                    java.lang.String msg)
Constructor, makes a message composed with a code location and a contextual message.

Parameters:
loc - a string to identify a code location, source of the exception
msg - a string containing a contextual message
Method Detail

toString

public java.lang.String toString()

getLocation

public java.lang.String getLocation()
Getter for exception location

Returns:
code location, source of the exception