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:
java.io.Serializable
public class UnknownExtensionTypeException extends java.lang.RuntimeException
Indicates that a default name cannot be generated for a given type because no extension mapping has been configured viaExtensionLoader.getExtensionFromExtensionMapping(Class)
.- Version:
- $Revision: $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
UnknownExtensionTypeException(java.lang.Class<T> type)
Creates a new instance with message indicating the missing type
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static <T extends Assignable>
UnknownExtensionTypeExceptionnewInstance(java.lang.Class<T> type)
Creates a newUnknownExtensionTypeException
for the specified type
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
serialVersionUID- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
static <T extends Assignable> UnknownExtensionTypeException newInstance(java.lang.Class<T> type) throws java.lang.IllegalArgumentException
Creates a newUnknownExtensionTypeException
for the specified type- Throws:
java.lang.IllegalArgumentException
- If the type is not specified
-
-