Package org.xwiki.extension
Class InvalidExtensionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.extension.ExtensionException
-
- org.xwiki.extension.InvalidExtensionException
-
- All Implemented Interfaces:
Serializable
public class InvalidExtensionException extends ExtensionException
Error when loading an extension descriptor.- Since:
- 4.0M1
- Version:
- $Id: 4839f2d537c566b666043d9f01419654d95ba803 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidExtensionException(String message)
Constructs a new exception with the specified detail message.InvalidExtensionException(String message, Throwable cause)
Constructs a new exception with the specified detail message and 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
-
InvalidExtensionException
public InvalidExtensionException(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)
-
InvalidExtensionException
public InvalidExtensionException(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). A null value is permitted, and indicates that the cause is nonexistent or unknown
-
-