com.hp.hpl.jena.enhanced
Class UnsupportedPolymorphismException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hp.hpl.jena.shared.JenaException
com.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
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 |
UnsupportedPolymorphismException
public UnsupportedPolymorphismException(EnhGraph eg,
java.lang.Class cl)
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.