Package org.xwiki.link
Class LinkException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.link.LinkException
-
- All Implemented Interfaces:
Serializable
@Unstable public class LinkException extends Exception
Any exception raised in link related APIs.- Since:
- 14.8RC1
- Version:
- $Id: c56f1baa12c08c5201977424bced0f1b97392201 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinkException(String message)
Constructs a new exception with the specified detail message.LinkException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.LinkException(Throwable 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
-
LinkException
public LinkException(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)
-
LinkException
public LinkException(Throwable cause)
- Parameters:
cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). Anull
value is permitted, and indicates that the cause is nonexistent or unknown
-
LinkException
public LinkException(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). Anull
value is permitted, and indicates that the cause is nonexistent or unknown
-
-