PAJES 3.0.21

org.pajes.html.tree
Class TreeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.pajes.html.tree.TreeException
All Implemented Interfaces:
java.io.Serializable

public class TreeException
extends java.lang.RuntimeException

Thrown when a run-time exception relating to the construction of an HTML tag occurs.

See Also:
Serialized Form

Field Summary
static java.lang.String DUPLICATE_NODE
          Message key for when a duplicate node name is added to a tree
static java.lang.String ILLEGAL_OBJECT
          Message key for when an illegal object is added to a TreePaje
 
Constructor Summary
TreeException(java.lang.String messageKey)
          Creates a new exception, using the specified message key to locate the actual message to be displayed.
TreeException(java.lang.String messageKey, java.lang.String[] arguments)
          Creates a new exception, using the specified message key to locate the actual message to be displayed.
 
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
 

Field Detail

DUPLICATE_NODE

public static final java.lang.String DUPLICATE_NODE
Message key for when a duplicate node name is added to a tree

See Also:
Constant Field Values

ILLEGAL_OBJECT

public static final java.lang.String ILLEGAL_OBJECT
Message key for when an illegal object is added to a TreePaje

See Also:
Constant Field Values
Constructor Detail

TreeException

public TreeException(java.lang.String messageKey)
Creates a new exception, using the specified message key to locate the actual message to be displayed. If no matching message key is found, the key is returned as the message.

Parameters:
messageKey - the key from which the actual exception message will be located.

TreeException

public TreeException(java.lang.String messageKey,
                     java.lang.String[] arguments)
Creates a new exception, using the specified message key to locate the actual message to be displayed. If no matching message key is found, the key is returned as the message.

Parameters:
messageKey - the key from which the actual exception message will be located.
arguments - any arguments to be passed to create the complete message.

PAJES 3.0.21

Copyright © 1998-2007 Viridian Pty Limited. All Rights Reserved.