Package org.xwiki.component.namespace
Class NamespaceNotAllowedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.component.namespace.NamespaceNotAllowedException
-
- All Implemented Interfaces:
Serializable
public class NamespaceNotAllowedException extends Exception
Exception used when a namespace is not matched in a list of allowed namespaces.- Since:
- 8.0M1
- Version:
- $Id: f5057598f3b9c2a68dbcfc3c991fd6fff8893a58 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamespaceNotAllowedException(String message)
NamespaceNotAllowedException(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
-
NamespaceNotAllowedException
public NamespaceNotAllowedException(String message)
- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
NamespaceNotAllowedException
public NamespaceNotAllowedException(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
-
-