nu.xom.xinclude
Class InclusionLoopException

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

public class InclusionLoopException
extends XIncludeException

An InclusionLoopException is thrown when an included document attempts to include itself or one of its ancestor documents.

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

Constructor Summary
InclusionLoopException(java.lang.String message)
           Constructs an InclusionLoopException with the specified detail message.
InclusionLoopException(java.lang.String message, java.lang.String uri)
           Creates a new InclusionLoopException 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

InclusionLoopException

public InclusionLoopException(java.lang.String message)

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

Parameters:
message - the detail message

InclusionLoopException

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

Creates a new InclusionLoopException 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