nu.xom.xinclude

## Class MisplacedFallbackException

- Object
- - Throwable
  - - Exception
    - - nu.xom.xinclude.XIncludeException
      - - nu.xom.xinclude.MisplacedFallbackException

- All Implemented Interfaces:
    Serializable

      public class MisplacedFallbackException
      extends XIncludeException

  Indicates that an `xinclude:fallback` element was found outside of an `xinclude:include` element.

  Version:
    1.1b3
  Author:
    Elliotte Rusty Harold
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MisplacedFallbackException(String message)` Constructs a `MisplacedFallbackException` with the specified detail message.
    `MisplacedFallbackException(String message, String uri)` Creates a new `MisplacedFallbackException` with a detail message, line and column numbers, and a URI of the document that caused the exception.

  - ### Method Summary

    - ### Methods inherited from class nu.xom.xinclude.XIncludeException

      `getCause, getURI, initCause`

    - ### Methods inherited from class Throwable

      `addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

    - ### Methods inherited from class Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MisplacedFallbackException

          public MisplacedFallbackException(String message)

      Constructs a `MisplacedFallbackException` with the specified detail message.

      Parameters:
        `message` - a string indicating the specific problem

    - #### MisplacedFallbackException

          public MisplacedFallbackException(String message,
                                            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` - a string indicating the specific problem
        `uri` - the URI of the document that caused this exception

Copyright 2002-2026 Elliotte Rusty Harold
elharo@ibiblio.org