Package org.xwiki.component.manager
Class ComponentLookupException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.component.manager.ComponentLookupException
-
- All Implemented Interfaces:
Serializable
public class ComponentLookupException extends Exception
Raised during component lookup when an error happens.- Version:
- $Id: 182869ba73074983ecb85e251f8b28c7c6e299f7 $
- See Also:
ComponentManager.getInstance(java.lang.reflect.Type)
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentLookupException(String message)
ComponentLookupException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ComponentLookupException
public ComponentLookupException(String message)
- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
ComponentLookupException
public ComponentLookupException(String message, Throwable cause)
- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). Anull
value is permitted, and indicates that the cause is nonexistent or unknown
-
-