Class CreationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CreationException
    extends java.lang.Exception
    A CreationException is thrown whenever an Entry cannot be produced for any reason.
    Version:
    CVS $Revision: 313195 $ $Date: 1999-11-15 23:08:18 +0100 (Mon, 15 Nov 1999) $
    Author:
    Pierpaolo Fumagalli, Copyright 1999 © The Apache Software Foundation. All rights reserved.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CreationException()
      Create a new CreationException instance.
      CreationException​(java.lang.Exception e)
      Create a new CreationException instance with a specified nested exception.
      CreationException​(java.lang.Exception e, org.w3c.dom.Document d)
      Create a new CreationException instance with a specified nested exception and a specified invalid document.
      CreationException​(java.lang.String m)
      Create a new CreationException instance with a specified detail message.
      CreationException​(java.lang.String m, java.lang.Exception e)
      Create a new CreationException instance with a specified detail message and a specified nested exception.
      CreationException​(java.lang.String m, java.lang.Exception e, org.w3c.dom.Document d)
      Create a new CreationException instance with a specified detail message, a specified nested exception and a specified invalid document.
      CreationException​(java.lang.String m, org.w3c.dom.Document d)
      Create a new CreationException instance with a specified detail message and a specified invalid document.
      CreationException​(org.w3c.dom.Document d)
      Create a new CreationException instance with a specified invalid document.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.Document getDocument()
      Retrieve the invalid document of this CreationException.
      java.lang.Exception getException()
      Retrieve the nested exception of this CreationException.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CreationException

        public CreationException()
        Create a new CreationException instance.
      • CreationException

        public CreationException​(java.lang.String m)
        Create a new CreationException instance with a specified detail message.
        Parameters:
        m - The detail message.
      • CreationException

        public CreationException​(java.lang.Exception e)
        Create a new CreationException instance with a specified nested exception.
        Parameters:
        e - The nested exception.
      • CreationException

        public CreationException​(org.w3c.dom.Document d)
        Create a new CreationException instance with a specified invalid document.
        Parameters:
        d - The invalid document.
      • CreationException

        public CreationException​(java.lang.String m,
                                 java.lang.Exception e)
        Create a new CreationException instance with a specified detail message and a specified nested exception.
        Parameters:
        m - The detail message.
        e - The nested exception.
      • CreationException

        public CreationException​(java.lang.String m,
                                 org.w3c.dom.Document d)
        Create a new CreationException instance with a specified detail message and a specified invalid document.
        Parameters:
        m - The detail message.
        d - The invalid document.
      • CreationException

        public CreationException​(java.lang.Exception e,
                                 org.w3c.dom.Document d)
        Create a new CreationException instance with a specified nested exception and a specified invalid document.
        Parameters:
        e - The nested exception.
        d - The invalid document.
      • CreationException

        public CreationException​(java.lang.String m,
                                 java.lang.Exception e,
                                 org.w3c.dom.Document d)
        Create a new CreationException instance with a specified detail message, a specified nested exception and a specified invalid document.
        Parameters:
        m - The detail message.
        e - The nested exception.
        d - The invalid document.
    • Method Detail

      • getException

        public java.lang.Exception getException()
        Retrieve the nested exception of this CreationException.
        Returns:
        The invalid document or null if this wasn't specified.
      • getDocument

        public org.w3c.dom.Document getDocument()
        Retrieve the invalid document of this CreationException.
        Returns:
        The invalid document or null if this wasn't specified.