org.apache.maven.doxia.book
Class InvalidBookDescriptorException

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

public class InvalidBookDescriptorException
extends BookDoxiaException

Indicates that the book descriptor file could not be parsed correctly.

Version:
$Id: InvalidBookDescriptorException.java 769433 2009-04-28 15:26:55Z ltheussl $
Author:
Trygve Laugstøl
See Also:
Serialized Form

Constructor Summary
InvalidBookDescriptorException(ValidationResult validationResult)
          Construct a new InvalidBookDescriptorException and stores the given ValidationResult.
 
Method Summary
 ValidationResult getValidationResult()
          Return the ValidationResult.
 
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

InvalidBookDescriptorException

public InvalidBookDescriptorException(ValidationResult validationResult)
Construct a new InvalidBookDescriptorException and stores the given ValidationResult.

Parameters:
validationResult - The ValidationResult to store.
Method Detail

getValidationResult

public ValidationResult getValidationResult()
Return the ValidationResult.

Returns:
the ValidationResult associated with this Exception.


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