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
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
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.