Package org.xwiki.model.reference
Class InvalidEntityReferenceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.xwiki.model.reference.InvalidEntityReferenceException
-
- All Implemented Interfaces:
Serializable
public class InvalidEntityReferenceException extends RuntimeException
Thrown when an Entity Reference isn't valid. For example a Document Reference having an Attachment Reference as parent is invalid.- Since:
- 2.2M1
- Version:
- $Id: d3c92e6b8a422ebb63106424390ebfb106fa605a $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidEntityReferenceException()
Create a new invalid entity reference exception.InvalidEntityReferenceException(String message)
Create a new invalid entity reference exception with a message.InvalidEntityReferenceException(String message, Throwable throwable)
Create a new invalid entity reference exception with a message and a cause.InvalidEntityReferenceException(Throwable throwable)
Create a new invalid entity reference exception with a 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
-
InvalidEntityReferenceException
public InvalidEntityReferenceException()
Create a new invalid entity reference exception.
-
InvalidEntityReferenceException
public InvalidEntityReferenceException(String message)
Create a new invalid entity reference exception with a message.- Parameters:
message
- the message
-
InvalidEntityReferenceException
public InvalidEntityReferenceException(String message, Throwable throwable)
Create a new invalid entity reference exception with a message and a cause.- Parameters:
message
- the messagethrowable
- the cause
-
InvalidEntityReferenceException
public InvalidEntityReferenceException(Throwable throwable)
Create a new invalid entity reference exception with a cause.- Parameters:
throwable
- the cause
-
-