org.xwiki.model.reference
Class InvalidEntityReferenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 message
throwable - the cause

InvalidEntityReferenceException

public InvalidEntityReferenceException(Throwable throwable)
Create a new invalid entity reference exception with a cause.

Parameters:
throwable - the cause


Copyright © 2004-2013 XWiki. All Rights Reserved.