uk.ac.ic.doc.automed.reps
Class SchemasNotIdenticalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.ac.ic.doc.automed.AutoMedException
              extended by uk.ac.ic.doc.automed.reps.SchemasNotIdenticalException
All Implemented Interfaces:
java.io.Serializable

public class SchemasNotIdenticalException
extends AutoMedException

This exception is generated when an attempt to join to transformation pathways via createIdentTransformation() fails due to the schemas' object schemes being different. The differences can be obtained from the exception via the methods

Author:
Michael Boyd (mboyd@doc.ic.ac.uk)
See Also:
Serialized Form

Constructor Summary
SchemasNotIdenticalException(Schema fromSchema, Schema toSchema, SchemaObject[] fromObjs, SchemaObject[] toObjs)
           
 
Method Summary
 SchemaObject[] getFromObjectsUnmatched()
           
 Schema getFromSchema()
           
 SchemaObject[] getToObjectsUnmatched()
           
 Schema getToSchema()
           
 
Methods inherited from class uk.ac.ic.doc.automed.AutoMedException
getCause, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemasNotIdenticalException

public SchemasNotIdenticalException(Schema fromSchema,
                                    Schema toSchema,
                                    SchemaObject[] fromObjs,
                                    SchemaObject[] toObjs)
Method Detail

getFromSchema

public Schema getFromSchema()

getToSchema

public Schema getToSchema()

getFromObjectsUnmatched

public SchemaObject[] getFromObjectsUnmatched()

getToObjectsUnmatched

public SchemaObject[] getToObjectsUnmatched()