Package com.xpn.xwiki.doc.merge
Class CollisionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.xpn.xwiki.doc.merge.MergeException
-
- com.xpn.xwiki.doc.merge.CollisionException
-
- All Implemented Interfaces:
Serializable
public class CollisionException extends MergeException
Any exception raised when facing a collision during a 3 ways merge.- Since:
- 3.2M1
- Version:
- $Id: 2e38db4fa2052a402b131e5f531a76703e854d53 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CollisionException(String message)
Constructs a new exception with the specified detail message.CollisionException(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
-
CollisionException
public CollisionException(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)
-
CollisionException
public CollisionException(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
-
-