XCMS Toolkit

jtools
Class VisitorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jtools.VisitorException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DecodingException, EncodingException

public class VisitorException
extends java.lang.Exception

Encapsulates a general value visitor error or warning.

Version:
1.00 - 2006/02/10
Author:
support@phillipgriffin.com
See Also:
Serialized Form

Constructor Summary
VisitorException(java.lang.Exception e)
          Constructor for VisitorException with an error or warning Exception parameter.
VisitorException(java.lang.String message)
          Constructor for VisitorException with message parameter.
VisitorException(java.lang.String message, java.lang.Exception e)
          Constructor for VisitorException with a message and an error or warning Exception parameter.
 
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

VisitorException

public VisitorException(java.lang.String message)
Constructor for VisitorException with message parameter.

Parameters:
message - an error or warning message

VisitorException

public VisitorException(java.lang.Exception e)
Constructor for VisitorException with an error or warning Exception parameter.

A new exception is created for wrapping an existing exception. The existing exception will be embedded in this new one, and its message will become the default message for the VisitorException.

Parameters:
e - an exception to be wrapped in a VisitorException

VisitorException

public VisitorException(java.lang.String message,
                        java.lang.Exception e)
Constructor for VisitorException with a message and an error or warning Exception parameter.

A new exception is created from an existing exception, which will be embedded in this new one, but the new exception will have its own message.

Parameters:
message - a detail message about an exception
e - an exception to be wrapped in a VisitorException

XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.