Package org.xwiki.extension
Class ExtensionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.extension.ExtensionException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExtensionRepositoryException,IncompatibleVersionConstraintException,InstallException,InvalidExtensionException,InvalidVersionConstraintException,InvalidVersionRangeException,ResolveException,SearchException,UninstallException
public class ExtensionException extends Exception
Any exception raised in the XWiki Extension Manager must raise an exception of this type.- Since:
- 4.0M1
- Version:
- $Id: da02aa7ff59fbbb5d8487b90e6154cae7e0e2497 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExtensionException(String message)Constructs a new exception with the specified detail message.ExtensionException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.ExtensionException(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
-
ExtensionException
public ExtensionException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(Throwable).- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method)
-
ExtensionException
public ExtensionException(Throwable cause)
- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). Anullvalue is permitted, and indicates that the cause is nonexistent or unknown- Since:
- 9.3RC1
-
ExtensionException
public ExtensionException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method)cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). Anullvalue is permitted, and indicates that the cause is nonexistent or unknown
-
-