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. 

 Created: Thu Jan 10 05:01:41 2002
 

Version:
1.0
Author:
Dare Obasanjo
See Also:
SixdmlCollection.setSchema(java.net.URL), Serialized Form

Fields inherited from class org.sixdml.exceptions.SixdmlException
sixmlExceptionCause
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
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 org.sixdml.exceptions.SixdmlException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, 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.