org.apache.maven.doxia.book
Class BookDoxiaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.doxia.book.BookDoxiaException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidBookDescriptorException

public class BookDoxiaException
extends Exception

Wraps an exception when rendering books.

Version:
$Id: BookDoxiaException.java 740275 2009-02-03 11:17:28Z vsiveton $
Author:
Trygve Laugstøl
See Also:
Serialized Form

Constructor Summary
BookDoxiaException(String message)
          Construct a new BookDoxiaException with the specified detail message.
BookDoxiaException(String message, Throwable cause)
          Construct a new BookDoxiaException with the specified detail message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

BookDoxiaException

public BookDoxiaException(String message)
Construct a new BookDoxiaException with the specified detail message.

Parameters:
message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.

BookDoxiaException

public BookDoxiaException(String message,
                          Throwable cause)
Construct a new BookDoxiaException with the specified detail message and cause.

Parameters:
message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
cause - the cause. This can be retrieved later by the Throwable.getCause() method (a null value is permitted, and indicates that the cause is nonexistent or unknown).


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.