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
| Fields inherited from class java.lang.Exception |
|
| Fields inherited from class java.lang.Throwable |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.