Class SystemError

java.lang.Object
com.vaadin.featurepack.server.AbstractErrorMessage
com.vaadin.featurepack.server.SystemError
All Implemented Interfaces:
ErrorMessage, Serializable

public class SystemError extends AbstractErrorMessage
SystemError is an Vaadin 7/8 error message for a problem caused by error in system, not the user application code. The system error can contain technical information such as stack trace and exception. SystemError does not support HTML in error messages or stack traces. If HTML messages are required, use UserError or a custom implementation of ErrorMessage.
Author:
Vaadin Ltd.
See Also:
  • Constructor Details

    • SystemError

      public SystemError(String message)
      Constructor for SystemError with error message specified.
      Parameters:
      message - the Textual error description.
    • SystemError

      public SystemError(String message, Throwable cause)
      Constructor for SystemError with causing exception and error message.
      Parameters:
      message - the Textual error description.
      cause - the throwable causing the system error.
    • SystemError

      public SystemError(Throwable cause)
      Constructor for SystemError with cause.
      Parameters:
      cause - the throwable causing the system error.
  • Method Details

    • getHtmlMessage

      protected String getHtmlMessage()
      Returns the message of the error in HTML. Note that this API may change in future versions.