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:
  • Constructor Details

    • 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 to Throwable.initCause(Throwable).
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method)
    • ExtensionException

      public ExtensionException(Throwable cause)
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value 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 the Throwable.getMessage() method)
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown