Class ResultPageSizeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResultPageSizeException

public class ResultPageSizeException extends AppianException
See Also:
  • Constructor Details

    • ResultPageSizeException

      public ResultPageSizeException()
      Constructs a new exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable)
    • ResultPageSizeException

      protected ResultPageSizeException(Environment env)
    • ResultPageSizeException

      protected ResultPageSizeException(String message_, Environment env)
      Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable)
      Parameters:
      message_ - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method
    • ResultPageSizeException

      public ResultPageSizeException(String message_)
  • Method Details

    • setEnvironment

      protected void setEnvironment(Environment env)
    • getEnvironment

      protected Environment getEnvironment()
    • getErrorCode

      public ErrorCode getErrorCode()
      Description copied from class: AppianException
      Gets the error code associated with this exception. Subclasses should override this method to return specific error codes. The default implementation returns APNX-1-0000-000 (ErrorCode.GENERIC_ERROR).
      Overrides:
      getErrorCode in class AppianException
      See Also:
    • getErrorCodeArguments

      protected Object[] getErrorCodeArguments()
      Description copied from class: AppianException
      Gets the arguments that must be used to render this exception's message representation. Subclasses should override this method to return specific arguments. The default implementation returns a length 1 array containing the message as returned by the parent class of AppianException. This method is only called when AppianException.getErrorCodeArguments(Locale) hasn't been overwritten.
      Overrides:
      getErrorCodeArguments in class AppianException
      Returns:
      the arguments of the error code tied to this exception
      See Also: