Package org.jboss.shrinkwrap.api
Class UnknownExtensionTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.shrinkwrap.api.UnknownExtensionTypeException
- All Implemented Interfaces:
Serializable
Indicates that a default name cannot be generated for a given type because no extension mapping has been configured
via
ExtensionLoader.getExtensionFromExtensionMapping(Class)
.- Version:
- $Revision: $
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
UnknownExtensionTypeException
(Class<T> type) Creates a new instance with message indicating the missing type -
Method Summary
Modifier and TypeMethodDescription(package private) static <T extends Assignable>
UnknownExtensionTypeExceptionnewInstance
(Class<T> type) Creates a newUnknownExtensionTypeException
for the specified typeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDserialVersionUID- See Also:
-
-
Constructor Details
-
UnknownExtensionTypeException
Creates a new instance with message indicating the missing type
-
-
Method Details
-
newInstance
static <T extends Assignable> UnknownExtensionTypeException newInstance(Class<T> type) throws IllegalArgumentException Creates a newUnknownExtensionTypeException
for the specified type- Throws:
IllegalArgumentException
- If the type is not specified
-