Enum LiveViewExceptionType

  • All Implemented Interfaces:
    Serializable, Comparable<LiveViewExceptionType>

    public enum LiveViewExceptionType
    extends Enum<LiveViewExceptionType>
    Enumeration of possible LiveView exceptions. You can use getErrorCode() on a LiveViewException and compare against getCode() from one of these ENUMs. For example:

     
     if (myException.getErrorCode() == LiveViewExceptionType.SNAPSHOT_OVER_LIMIT.getCode()) {
          // then this exception was caused by the initial snapshot result set being larger than the specified limit value.
     }