Class CannotConstructException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.jena.shared.JenaException
-
- org.apache.jena.assembler.exceptions.AssemblerException
-
- org.apache.jena.assembler.exceptions.CannotConstructException
-
- All Implemented Interfaces:
java.io.Serializable
public class CannotConstructException extends AssemblerException
Exception used to report a failure of a group assembler to construct an object because there is no component assembler associated with the object's most specific type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotConstructException(java.lang.Class<?> assemblerClass, Resource root, Resource type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getAssemblerClass()
Answer the Assembler that cannot do the construction.Resource
getType()
Answer the (alleged most-specific) type of the object that could not be constructed.-
Methods inherited from class org.apache.jena.assembler.exceptions.AssemblerException
getDoing, getRoot, pushDoing, toString
-
-
-
-
Method Detail
-
getAssemblerClass
public java.lang.Class<?> getAssemblerClass()
Answer the Assembler that cannot do the construction.
-
getType
public Resource getType()
Answer the (alleged most-specific) type of the object that could not be constructed.
-
-