nu.xom.xinclude
Class BadParseAttributeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynu.xom.xinclude.XIncludeException
              extended bynu.xom.xinclude.BadParseAttributeException
All Implemented Interfaces:
java.io.Serializable

public class BadParseAttributeException
extends XIncludeException

A BadParseAttributeException is thrown when the parse attribute has some value other than xml or text.

Version:
1.0d23
Author:
Elliotte Rusty Harold
See Also:
Serialized Form

Constructor Summary
BadParseAttributeException(java.lang.String message)
           Constructs a BadParseAttributeException with the specified detail message.
BadParseAttributeException(java.lang.String message, java.lang.String uri)
           Creates a new BadParseAttributeException with a detail message, line and column numbers, and a URI of the document that caused the exception.
 
Methods inherited from class nu.xom.xinclude.XIncludeException
getCause, getURI, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BadParseAttributeException

public BadParseAttributeException(java.lang.String message)

Constructs a BadParseAttributeException with the specified detail message. The error message string message can later be retrieved by the Throwable.getMessage() method of class java.lang.Throwable.

Parameters:
message - the detail message

BadParseAttributeException

public BadParseAttributeException(java.lang.String message,
                                  java.lang.String uri)

Creates a new BadParseAttributeException with a detail message, line and column numbers, and a URI of the document that caused the exception.

Parameters:
message - indicates the specific problem
uri - the URI of the document that caused this exception


Copyright 2002-2004 Elliotte Rusty Harold
elharo@metalab.unc.edu