|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.hp.hpl.jena.shared.JenaException com.hp.hpl.jena.enhanced.UnsupportedPolymorphismException
public class UnsupportedPolymorphismException
Exception to throw if an enhanced graph does not support polymorphism to a specific class. The exception records the "bad" class and node for later reporting.
Constructor Summary | |
---|---|
UnsupportedPolymorphismException(EnhNode node,
Class<?> type)
Initialise this exception with the node that couldn't be polymorphed and the class it couldn't be polymorphed to. |
Method Summary | |
---|---|
Class<?> |
getBadClass()
Answer the class that the node couldn't be polymorphed to |
EnhGraph |
getBadGraph()
Answer the (enhanced) Graph of the node that couldn't be polymorphed; may be null if that node had no attached model. |
Object |
getBadNode()
Answer the node that couldn't be polymorphed. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UnsupportedPolymorphismException(EnhNode node, Class<?> type)
Method Detail |
---|
public EnhGraph getBadGraph()
public Class<?> getBadClass()
public Object getBadNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |