Package com.cedarsolutions.shared.domain

Examples of com.cedarsolutions.shared.domain.ErrorDescription


     */
    @Override
    public void onUnhandledError(Throwable caught) {
        boolean handled = this.handleSpecialErrors(caught);
        if (!handled) {
            ErrorDescription error = this.generateError(caught);
            this.showError(error);
        }
    }
View Full Code Here


        }

        @Override
        public ErrorDescription generateNotAuthorizedError(HttpStatusCode statusCode) {
            this.statusCode = statusCode;
            return new ErrorDescription("generateNotAuthorized");
        }
View Full Code Here

        }

        @Override
        public ErrorDescription generateRpcSecurityExceptionError(RpcSecurityException exception) {
            this.rpcSecurityException = exception;
            return new ErrorDescription("generateRpcSecurityExceptionError");
        }
View Full Code Here

        }

        @Override
        public ErrorDescription generateRpcTokenExceptionError(RpcTokenException exception) {
            this.rpcTokenException = exception;
            return new ErrorDescription("generateRpcTokenExceptionError");
        }
View Full Code Here

        }

        @Override
        public ErrorDescription generateRequestTimeoutExceptionError(RequestTimeoutException exception) {
            this.requestTimeoutException = exception;
            return new ErrorDescription("generateRequestTimeoutExceptionError");
        }
View Full Code Here

        }

        @Override
        public ErrorDescription generateNoResponseReceivedError(Throwable exception) {
            this.exception = exception;
            return new ErrorDescription("generateNoResponseReceivedError");
        }
View Full Code Here

        }

        @Override
        public ErrorDescription generateIncompatibleRemoteServiceExceptionError(IncompatibleRemoteServiceException exception) {
            this.incompatibleRemoteServiceException = exception;
            return new ErrorDescription("generateIncompatibleRemoteServiceExceptionError");
        }
View Full Code Here

        }

        @Override
        public ErrorDescription generateGeneralRpcError(Throwable exception) {
            this.exception = exception;
            return new ErrorDescription("generateGeneralRpcError");
        }
View Full Code Here

        @Override
        public ErrorDescription generateGeneralRpcError(Throwable exception, HttpStatusCode statusCode) {
            this.exception = exception;
            this.statusCode = statusCode;
            return new ErrorDescription("generateGeneralRpcErrorWithStatus");
        }
View Full Code Here

TOP

Related Classes of com.cedarsolutions.shared.domain.ErrorDescription

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.