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