Interface TopLevelException

All Known Implementing Classes:
ApplicationException

public interface TopLevelException
Interface for exceptions where the message is directly presented to the user interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the error number.
    Deprecated, for removal: This API element is subject to removal in a future version.
    use getCause()
    Return the log level of this exception.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version. 
    void
    setWarning(boolean warning)
    Deprecated, for removal: This API element is subject to removal in a future version. 
  • Method Details

    • getException

      @Deprecated(since="11.0", forRemoval=true) Throwable getException()
      Deprecated, for removal: This API element is subject to removal in a future version.
      use getCause()
      Returns an inner exception, null if there is none.
    • getLevel

      Return the log level of this exception.
    • setWarning

      @Deprecated(since="11.0", forRemoval=true) void setWarning(boolean warning)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the exception as warning.
    • isWarning

      @Deprecated(since="11.0", forRemoval=true) boolean isWarning()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getErrnum

      int getErrnum()
      Return the error number.