Package org.jmanage.core.services

Examples of org.jmanage.core.services.ServiceException


            if(t != null){
                if(t instanceof ServiceException || t instanceof UnAuthorizedAccessException){
                    return new InvocationResult(t);
                }else if(t instanceof ConnectionFailedException){
                    return new InvocationResult(
                            new ServiceException(ErrorCodes.CONNECTION_FAILED));
                }
            }
            logger.log(Level.SEVERE, "Error while invoking: " +
                    invocation.getClassName() +"->"+ invocation.getMethodName(),
                    e);
View Full Code Here


        try {
            RemoteInvocation invocation = new RemoteInvocation(method, args);
            return invoke(invocation);
        } catch (ConnectException e) {
            throw new ServiceException(ErrorCodes.JMANAGE_SERVER_CONNECTION_FAILED,
                    JManageProperties.getJManageURL());
        }
    }
View Full Code Here

                }
                erroneousApps.append(attrListData[i].getAppName());
            }
        }
        if(erroneousApps.length() > 0){
            throw new ServiceException(ErrorCodes.ERRONEOUS_APPS, erroneousApps);
        }
        return mapping.findForward(Forwards.SUCCESS);
    }
View Full Code Here

TOP

Related Classes of org.jmanage.core.services.ServiceException

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.