Package org.xwiki.diff
Class DiffException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.diff.DiffException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MergeException
,PatchException
public class DiffException extends Exception
Any exception raised when failing to create a diff.- Version:
- $Id: 9687d1491479794d5219df33cae3621250fbd0f7 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DiffException(String message)
Constructs a new exception with the specified detail message.DiffException(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
-
DiffException
public DiffException(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)
-
DiffException
public DiffException(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
-
-