Package er.rest

Examples of er.rest.ERXNotAllowedException


   * @return WOActionResults
   */
  protected WOActionResults performUnknownAction(String actionName) throws Exception {
    boolean isStrictMode = ERXProperties.booleanForKeyWithDefault("ERXRest.strictMode", true);
    if (isStrictMode) {
      throw new ERXNotAllowedException();
    } else {
      throw new FileNotFoundException("There is no action named '" + actionName + "Action' on '" + getClass().getSimpleName() + "'.");     
    }
  }
View Full Code Here

TOP

Related Classes of er.rest.ERXNotAllowedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.