Package com.iisigroup.cap.response

Examples of com.iisigroup.cap.response.IErrorResult


      plugin.setRequest(request);
      pluginlogger = LoggerFactory.getLogger(plugin.getClass());
      result = plugin.execute(request);

    } catch (Exception e) {
      IErrorResult errorResult = getDefaultErrorResult();
      if (errorResult == null) {
        result = new ErrorResult(request, e);
      } else {
        errorResult.putError(request, e);
        result = errorResult;
      }
      if (e instanceof CapMessageException) {
        pluginlogger.error(result.getResult().toString());
      } else if (e instanceof CapException && e.getCause() != null) {
View Full Code Here

TOP

Related Classes of com.iisigroup.cap.response.IErrorResult

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.