Package org.xwiki.localization
Class TranslationBundleDoesNotExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.localization.LocalizationException
-
- org.xwiki.localization.TranslationBundleDoesNotExistsException
-
- All Implemented Interfaces:
Serializable
public class TranslationBundleDoesNotExistsException extends LocalizationException
Raised when trying to manipulate a bundle that does not exists.- Since:
- 4.3M2
- Version:
- $Id: d1d4c4721fc63678faa53cfe32cb5873102cf3a1 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TranslationBundleDoesNotExistsException(String message)
Constructs a new exception with the specified detail message.TranslationBundleDoesNotExistsException(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
-
TranslationBundleDoesNotExistsException
public TranslationBundleDoesNotExistsException(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)
-
TranslationBundleDoesNotExistsException
public TranslationBundleDoesNotExistsException(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
-
-