Package ro.sync.ecss.extensions.api.link
Class InvalidLinkException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ro.sync.ecss.extensions.api.link.InvalidLinkException
- All Implemented Interfaces:
Serializable
Signals a link that cannot be resolved.
- Since:
- 14.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidLinkException
(String message) Constructor.InvalidLinkException
(String message, Severity severity, boolean presentInplace) Constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidLinkException
Constructor.- Parameters:
message
- Error message.
-
InvalidLinkException
Constructor.- Parameters:
message
- Error message.severity
- A hint about the severity of the exception.presentInplace
-true
if the error message should be presented right in the document area, the same place where the link text should have been presented.false
to report the error in the results area of the editor.
-
-
Method Details
-
getSeverity
- Returns:
- Returns a hint about the level of the problem.
-
isPresentInplace
public boolean isPresentInplace()- Returns:
true
if the error message should be presented right in the document area, the same place where the link text should have been presented.false
to report the error in the results area of the editor.
-
setShortMessage
- Parameters:
shortMessage
- The short message.
-
getShortMessage
- Returns:
- Returns the short message, can be
null
.
-