Package org.platformlayer.core.model

Examples of org.platformlayer.core.model.ErrorDetail


    if (e instanceof CustomerFacingException) {
      CustomerFacingException cfe = (CustomerFacingException) e;
      error.code = cfe.getCode();

      for (CustomerFacingException.Info info : cfe.getInfo()) {
        ErrorDetail errorInfo = new ErrorDetail();
        errorInfo.code = info.getCode();
        errorInfo.field = info.getField();
        errorInfo.message = info.getMessage();

        error.details.add(errorInfo);
View Full Code Here

TOP

Related Classes of org.platformlayer.core.model.ErrorDetail

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.