Enum Class SwingKitException

java.lang.Object
java.lang.Enum<SwingKitException>
com.vaadin.swingkit.core.SwingKitException
All Implemented Interfaces:
Serializable, Comparable<SwingKitException>, Constable

public enum SwingKitException extends Enum<SwingKitException> implements Serializable
Swing Kit predefined exceptions
Author:
Vaadin Ltd.
  • Enum Constant Details

    • VAADIN_EXCEPTION

      public static final SwingKitException VAADIN_EXCEPTION
      Exception thrown from the Vaadin side not caught by the Vaadin App
    • NETWORK_EXCEPTION

      public static final SwingKitException NETWORK_EXCEPTION
      Exception thrown when something goes wrong loading a url in the embedded browser
  • Method Details

    • values

      public static SwingKitException[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SwingKitException valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null