nu.xom.xinclude
Class NoIncludeLocationException

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

public class NoIncludeLocationException
extends XIncludeException

A NoIncludeLocationException is thrown when an xinclude:include element has neither an href nor an xpointer attribute.

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

Constructor Summary
NoIncludeLocationException(java.lang.String message)
           Constructs a NoIncludeLocationException with the specified message.
NoIncludeLocationException(java.lang.String message, java.lang.String uri)
           Creates a new NoIncludeLocationException with a detail message, line and column numbers, and a URI of the document that caused the exception.
NoIncludeLocationException(java.lang.String message, java.lang.Throwable cause)
           Constructs a NoIncludeLocationException with the specified detail message and root cause.
 
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

NoIncludeLocationException

public NoIncludeLocationException(java.lang.String message)

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

Parameters:
message - indicates the specific problem

NoIncludeLocationException

public NoIncludeLocationException(java.lang.String message,
                                  java.lang.Throwable cause)

Constructs a NoIncludeLocationException with the specified detail message and root cause.

Parameters:
message - indicates the specific problem
cause - the initial exception that caused this NoIncludeLocationException

NoIncludeLocationException

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

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