Class NotExpectedTypeException
- 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.NotExpectedTypeException
-
- All Implemented Interfaces:
java.io.Serializable
public class NotExpectedTypeException extends AssemblerException
Exception to throw when some (dynamically loaded) class isn't of the required type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotExpectedTypeException(Resource root, java.lang.Class<?> expectedType, java.lang.Class<?> actualType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getActualType()
java.lang.Class<?>
getExpectedType()
-
Methods inherited from class org.apache.jena.assembler.exceptions.AssemblerException
getDoing, getRoot, pushDoing, toString
-
-
-
-
Constructor Detail
-
NotExpectedTypeException
public NotExpectedTypeException(Resource root, java.lang.Class<?> expectedType, java.lang.Class<?> actualType)
-
-