Class InvalidLinkException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ro.sync.ecss.extensions.api.link.InvalidLinkException
All Implemented Interfaces:
Serializable

@API(type=NOT_EXTENDABLE, src=PUBLIC) public class InvalidLinkException extends Exception
Signals a link that cannot be resolved.
Since:
14.2
See Also:
  • Constructor Details

    • InvalidLinkException

      public InvalidLinkException(String message)
      Constructor.
      Parameters:
      message - Error message.
    • InvalidLinkException

      public InvalidLinkException(String message, Severity severity, boolean presentInplace)
      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

      public Severity 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

      public void setShortMessage(String shortMessage)
      Parameters:
      shortMessage - The short message.
    • getShortMessage

      public String getShortMessage()
      Returns:
      Returns the short message, can be null.