org.sixdml.exceptions
Class InvalidSchemaException

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

public class InvalidSchemaException
extends SixdmlException

  
 InvalidSchemaException.java

 This is thrown when an attempt is made to perform constrain a collection with an invalid schema. 
 
 Created: Fri Jan 11 17:57:33 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
InvalidSchemaException(String document, Throwable cause)
          Constructs a InvalidSchemaException with the document name and validation error exception.
InvalidSchemaException(Throwable cause)
          Constructs a InvalidSchemaException with the specified cause and validation error exception..
 
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

InvalidSchemaException

public InvalidSchemaException(String document,
                              Throwable cause)
Constructs a InvalidSchemaException with the document name and validation error exception.
Parameters:
document - the name of the document that failed to validate.

InvalidSchemaException

public InvalidSchemaException(Throwable cause)
Constructs a InvalidSchemaException with the specified cause and validation error exception..