Enum Class PageError

java.lang.Object
java.lang.Enum<PageError>
org.exoplatform.portal.mop.page.PageError
All Implemented Interfaces:
Serializable, Comparable<PageError>, Constable

public enum PageError extends Enum<PageError>
Error codes for page service.
Author:
Julien Viet
  • Enum Constant Details

    • NO_SITE

      public static final PageError NO_SITE
    • CLONE_NO_SRC_SITE

      public static final PageError CLONE_NO_SRC_SITE
    • CLONE_NO_SRC_PAGE

      public static final PageError CLONE_NO_SRC_PAGE
    • CLONE_NO_DST_SITE

      public static final PageError CLONE_NO_DST_SITE
    • CLONE_DST_ALREADY_EXIST

      public static final PageError CLONE_DST_ALREADY_EXIST
  • Method Details

    • values

      public static PageError[] 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 PageError 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