org.sixdml.exceptions
Class InvalidCollectionDocumentException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sixdml.exceptions.SixdmlException
                    |
                    +--org.sixdml.exceptions.InvalidCollectionDocumentException
All Implemented Interfaces:
Serializable

public class InvalidCollectionDocumentException
extends SixdmlException

 InvalidCollectionDocumentException.java

 Thrown when an XML document in a SixdmlCollection fails to be validate against 
 a given schema that is being applied to the collection.

Version:
1.0k
Author:
Dare Obasanjo
See Also:
Created: Thu Jan 10 05:01:41 2002
, Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
private InvalidCollectionDocumentException()
          No instance of this class should be created without specifying the offending document and the error message.
  InvalidCollectionDocumentException(String document, Exception cause)
          Constructs a InvalidCollectionDocumentException with the specified detail message.
 
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

InvalidCollectionDocumentException

private InvalidCollectionDocumentException()
No instance of this class should be created without specifying the offending document and the error message.


InvalidCollectionDocumentException

public InvalidCollectionDocumentException(String document,
                                          Exception cause)
Constructs a InvalidCollectionDocumentException with the specified detail message.

Parameters:
document - the name of the document that failed to validate.
cause - the Exception that was thrown when validation failed.