nu.xom.xinclude
Class MisplacedFallbackException

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

public class MisplacedFallbackException
extends XIncludeException

A MisplacedFallbackException is thrown when an xinclude:fallback element is found outside of an xinclude:include element.

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

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

MisplacedFallbackException

public MisplacedFallbackException(java.lang.String message)

Constructs a MisplacedFallbackException 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

MisplacedFallbackException

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

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