Class CreationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.stylebook.CreationException
All Implemented Interfaces:
Serializable

public class CreationException extends 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:
  • Constructor Details

    • CreationException

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

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

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

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

      public CreationException(String m, 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(String m, 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(Exception e, 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(String m, Exception e, 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 Details

    • getException

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

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