PAJES 2.3.9

org.pajes.html
Class TagException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.pajes.html.TagException
All Implemented Interfaces:
java.io.Serializable

public class TagException
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 CLONE_NOT_SUPPORTED
          Message key for when a CloneNotSupportedException is unexpectedly thrown.
static java.lang.String ILLEGAL_ACCESSKEY_ATTRIBUTE_FOR_LABEL
          Message key for when a Label is passed an illegal value for the ACCESSKEY attribute.
static java.lang.String ILLEGAL_NULL_FOR_ATTRIBUTE_FOR_LABEL
          Message key for when a Label is passed a null for the mandatory FOR attribute.
static java.lang.String ILLEGAL_ONCHANGE_HANDLER
          Message key for when a Input sub-class illegally defines an OnChange handler.
static java.lang.String ILLEGAL_ONCLICK_HANDLER
          Message key for when a Input sub-class illegally defines an OnClick handler.
static java.lang.String ILLEGAL_PAJE_IN_CONTAINER
          Message key for when an attempt is made to add a Paje to a Container.
static java.lang.String ILLEGAL_SCRIPT_STATE
          Message key for when a Script sub-class illegally defines both a SRC attribute and contains script content.
static java.lang.String INVALID_APPLET_CONTENT
          Message key for when an attempt is made to add an object to a Applet that is not a Parameter.
static java.lang.String INVALID_BULLET_TYPE
          Message key for when a UnOrderedList is defined with an invalid bullet type.
static java.lang.String INVALID_CLEAR_ALIGNMENT
          Message key for when an invalid alignment constant is specified.
static java.lang.String INVALID_CONTAINER
          Message key for when a PajeTemplate encounters a different Container sub-class than is expected when parsing the HTML Source document.
static java.lang.String INVALID_FRAMESET_CONTENT
          Message key for when an attempt is made to add an object to a FrameSet that is not a Frame or another FrameSet.
static java.lang.String INVALID_HEADING_LEVEL
          Message key for when a Heading is defined with an invalid heading level.
static java.lang.String INVALID_HEX_COLOUR
          Message key for when a Color is defined with invalid hexadecimal colour values.
static java.lang.String INVALID_HORIZONTAL_ALIGNMENT
          Message key for when an invalid alignment constant is specified.
static java.lang.String INVALID_INT_COLOUR
          Message key for when a Color is defined with invalid integer colour values.
static java.lang.String INVALID_LABEL_TYPE
          Message key for when a OrderedList is defined with invalid label type.
static java.lang.String INVALID_LIST_CONTENT
          Message key for when an attempt is made to add an object to a ListContainer that is not valid.
static java.lang.String INVALID_NULL_IN_CONTAINER
          Message key for when an attempt is made to add a null to a Container.
static java.lang.String INVALID_OPTGROUP_CONTENT
          Message key for when an attempt is made to add an object to a OptionGroup that is not valid.
static java.lang.String INVALID_SCRIPT_CONTENT
          Message key for when an attempt is made to add an object to a Script that is not a PlainText instance.
static java.lang.String INVALID_SELECT_CONTENT
          Message key for when an attempt is made to add an object to a Select during the construction of a PajeTemplate that is not an option or a single script.
static java.lang.String INVALID_SELECT_OPTION_INDEX
          Message key for when a negative number is specified for an option in an Select that is to be ignored in mandatory field validation.
static java.lang.String INVALID_START_SEQUENCE
          Message key for when a OrderedList is defined with invalid starting sequence number.
static java.lang.String INVALID_STYLESHEET_CONTENT
          Message key for when an attempt is made to add an object to a StyleSheet that is not a PlainText instance.
static java.lang.String INVALID_TABLE_ROW_CONTAINER_CONTENT
          Message key for when an attempt is made to add an object to a Table row container (TBODY, THEAD or TFOOT) that is not a Table.Row.
static java.lang.String MISSING_ANCHOR_URL
          Message key for when a Anchor is defined without an HREF attribute.
static java.lang.String MISSING_FORM
          Message key for when a Input sub-class is defined without specifying the Form on which it is being placed.
static java.lang.String MISSING_NAME
          Message key for when a Input sub-class is defined without specifying the NAME= attribute.
static java.lang.String MISSING_OPTGROUP
          Message key for when an </OPTGROUP> tag is found without a matching <OPTGROUP>.
static java.lang.String RESOURCE_NOT_FOUND
          Message key for when a PajeFactory cannot locate the base PajeResource defined on its constructor.
 
Constructor Summary
TagException(java.lang.String messageKey)
          Creates a new exception, using the specified message key to locate the actual message to be displayed.
TagException(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.
 
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

CLONE_NOT_SUPPORTED

public static final java.lang.String CLONE_NOT_SUPPORTED
Message key for when a CloneNotSupportedException is unexpectedly thrown.

See Also:
Constant Field Values

ILLEGAL_ACCESSKEY_ATTRIBUTE_FOR_LABEL

public static final java.lang.String ILLEGAL_ACCESSKEY_ATTRIBUTE_FOR_LABEL
Message key for when a Label is passed an illegal value for the ACCESSKEY attribute.

See Also:
Constant Field Values

ILLEGAL_NULL_FOR_ATTRIBUTE_FOR_LABEL

public static final java.lang.String ILLEGAL_NULL_FOR_ATTRIBUTE_FOR_LABEL
Message key for when a Label is passed a null for the mandatory FOR attribute.

See Also:
Constant Field Values

ILLEGAL_ONCHANGE_HANDLER

public static final java.lang.String ILLEGAL_ONCHANGE_HANDLER
Message key for when a Input sub-class illegally defines an OnChange handler.

See Also:
Constant Field Values

ILLEGAL_ONCLICK_HANDLER

public static final java.lang.String ILLEGAL_ONCLICK_HANDLER
Message key for when a Input sub-class illegally defines an OnClick handler.

See Also:
Constant Field Values

ILLEGAL_PAJE_IN_CONTAINER

public static final java.lang.String ILLEGAL_PAJE_IN_CONTAINER
Message key for when an attempt is made to add a Paje to a Container.

See Also:
Constant Field Values

ILLEGAL_SCRIPT_STATE

public static final java.lang.String ILLEGAL_SCRIPT_STATE
Message key for when a Script sub-class illegally defines both a SRC attribute and contains script content.

See Also:
Constant Field Values

INVALID_APPLET_CONTENT

public static final java.lang.String INVALID_APPLET_CONTENT
Message key for when an attempt is made to add an object to a Applet that is not a Parameter.

See Also:
Constant Field Values

INVALID_BULLET_TYPE

public static final java.lang.String INVALID_BULLET_TYPE
Message key for when a UnOrderedList is defined with an invalid bullet type.

See Also:
Constant Field Values

INVALID_CLEAR_ALIGNMENT

public static final java.lang.String INVALID_CLEAR_ALIGNMENT
Message key for when an invalid alignment constant is specified.

See Also:
Constant Field Values

INVALID_CONTAINER

public static final java.lang.String INVALID_CONTAINER
Message key for when a PajeTemplate encounters a different Container sub-class than is expected when parsing the HTML Source document.

See Also:
Constant Field Values

INVALID_FRAMESET_CONTENT

public static final java.lang.String INVALID_FRAMESET_CONTENT
Message key for when an attempt is made to add an object to a FrameSet that is not a Frame or another FrameSet.

See Also:
Constant Field Values

INVALID_HEADING_LEVEL

public static final java.lang.String INVALID_HEADING_LEVEL
Message key for when a Heading is defined with an invalid heading level.

See Also:
Constant Field Values

INVALID_HEX_COLOUR

public static final java.lang.String INVALID_HEX_COLOUR
Message key for when a Color is defined with invalid hexadecimal colour values.

See Also:
Constant Field Values

INVALID_HORIZONTAL_ALIGNMENT

public static final java.lang.String INVALID_HORIZONTAL_ALIGNMENT
Message key for when an invalid alignment constant is specified.

See Also:
Constant Field Values

INVALID_INT_COLOUR

public static final java.lang.String INVALID_INT_COLOUR
Message key for when a Color is defined with invalid integer colour values.

See Also:
Constant Field Values

INVALID_LABEL_TYPE

public static final java.lang.String INVALID_LABEL_TYPE
Message key for when a OrderedList is defined with invalid label type.

See Also:
Constant Field Values

INVALID_NULL_IN_CONTAINER

public static final java.lang.String INVALID_NULL_IN_CONTAINER
Message key for when an attempt is made to add a null to a Container.

See Also:
Constant Field Values

INVALID_OPTGROUP_CONTENT

public static final java.lang.String INVALID_OPTGROUP_CONTENT
Message key for when an attempt is made to add an object to a OptionGroup that is not valid.

See Also:
Constant Field Values

INVALID_LIST_CONTENT

public static final java.lang.String INVALID_LIST_CONTENT
Message key for when an attempt is made to add an object to a ListContainer that is not valid.

See Also:
Constant Field Values

INVALID_SCRIPT_CONTENT

public static final java.lang.String INVALID_SCRIPT_CONTENT
Message key for when an attempt is made to add an object to a Script that is not a PlainText instance.

See Also:
Constant Field Values

INVALID_SELECT_CONTENT

public static final java.lang.String INVALID_SELECT_CONTENT
Message key for when an attempt is made to add an object to a Select during the construction of a PajeTemplate that is not an option or a single script.

See Also:
Constant Field Values

INVALID_SELECT_OPTION_INDEX

public static final java.lang.String INVALID_SELECT_OPTION_INDEX
Message key for when a negative number is specified for an option in an Select that is to be ignored in mandatory field validation.

See Also:
Constant Field Values

INVALID_START_SEQUENCE

public static final java.lang.String INVALID_START_SEQUENCE
Message key for when a OrderedList is defined with invalid starting sequence number.

See Also:
Constant Field Values

INVALID_STYLESHEET_CONTENT

public static final java.lang.String INVALID_STYLESHEET_CONTENT
Message key for when an attempt is made to add an object to a StyleSheet that is not a PlainText instance.

See Also:
Constant Field Values

INVALID_TABLE_ROW_CONTAINER_CONTENT

public static final java.lang.String INVALID_TABLE_ROW_CONTAINER_CONTENT
Message key for when an attempt is made to add an object to a Table row container (TBODY, THEAD or TFOOT) that is not a Table.Row.

See Also:
Constant Field Values

MISSING_ANCHOR_URL

public static final java.lang.String MISSING_ANCHOR_URL
Message key for when a Anchor is defined without an HREF attribute.

See Also:
Constant Field Values

MISSING_FORM

public static final java.lang.String MISSING_FORM
Message key for when a Input sub-class is defined without specifying the Form on which it is being placed.

See Also:
Constant Field Values

MISSING_NAME

public static final java.lang.String MISSING_NAME
Message key for when a Input sub-class is defined without specifying the NAME= attribute.

See Also:
Constant Field Values

MISSING_OPTGROUP

public static final java.lang.String MISSING_OPTGROUP
Message key for when an </OPTGROUP> tag is found without a matching <OPTGROUP>.

See Also:
Constant Field Values

RESOURCE_NOT_FOUND

public static final java.lang.String RESOURCE_NOT_FOUND
Message key for when a PajeFactory cannot locate the base PajeResource defined on its constructor.

See Also:
Constant Field Values
Constructor Detail

TagException

public TagException(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.

TagException

public TagException(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 2.3.9

Copyright © 2002-2003 Viridian Pty Limited. All Rights Reserved.