com.hp.hpl.jena.enhanced
Class UnsupportedPolymorphismException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.hp.hpl.jena.shared.JenaException
                  extended bycom.hp.hpl.jena.enhanced.UnsupportedPolymorphismException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedPolymorphismException
extends com.hp.hpl.jena.shared.JenaException

Author:
hedgehog Exception to throw if an enhanced graph does not support polymorphism to a specific class. The exception records the "bad" class and graph for later reporting.
See Also:
Serialized Form

Constructor Summary
UnsupportedPolymorphismException(EnhGraph eg, java.lang.Class cl)
           
 
Method Summary
 java.lang.Class getBadClass()
           
 EnhGraph getBadGraph()
           
 
Methods inherited from class com.hp.hpl.jena.shared.JenaException
getCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedPolymorphismException

public UnsupportedPolymorphismException(EnhGraph eg,
                                        java.lang.Class cl)
Method Detail

getBadGraph

public EnhGraph getBadGraph()
Returns:
the graph that did not support the desired polymorphism

getBadClass

public java.lang.Class getBadClass()
Returns:
the class that the graph had no implementation for


Copyright © 2001-2003 Hewlett-Packard. All Rights Reserved.