public static CommunicationException unableToPropagateChanges(String serviceName, Exception exception) { Object[] args = { serviceName }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, UNABLE_TO_PROPAGATE_CHANGES, args), exception); communicationException.setErrorCode(UNABLE_TO_PROPAGATE_CHANGES); return communicationException; }
public static CommunicationException unableToPropagateChanges(String serviceName, Exception exception) { Object[] args = { serviceName }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, UNABLE_TO_PROPAGATE_CHANGES, args), exception); communicationException.setErrorCode(UNABLE_TO_PROPAGATE_CHANGES); return communicationException; }
public static CommunicationException errorSendingConnectionService(String serviceName, Exception exception) { Object[] args = { serviceName }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, ERROR_SENDING_CONNECTION_SERVICE, args), exception); communicationException.setErrorCode(ERROR_SENDING_CONNECTION_SERVICE); return communicationException; }
public static CommunicationException errorSendingMessage(String serviceId, Exception exception) { Object[] args = { serviceId }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, ERROR_SENDING_MESSAGE, args), exception); communicationException.setErrorCode(ERROR_SENDING_MESSAGE); return communicationException; } }
public static CommunicationException errorSendingMessage(String serviceId, Exception exception) { Object[] args = { serviceId }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, ERROR_SENDING_MESSAGE, args), exception); communicationException.setErrorCode(ERROR_SENDING_MESSAGE); return communicationException; } }
public static CommunicationException errorSendingConnectionService(String serviceName, Exception exception) { Object[] args = { serviceName }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, ERROR_SENDING_CONNECTION_SERVICE, args), exception); communicationException.setErrorCode(ERROR_SENDING_CONNECTION_SERVICE); return communicationException; }
public static CommunicationException unableToConnect(String serviceName, Exception exception) { Object[] args = { serviceName }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, UNABLE_TO_CONNECT, args), exception); communicationException.setErrorCode(UNABLE_TO_CONNECT); return communicationException; }
public static CommunicationException errorSendingConnectionService(String serviceName, Exception exception) { Object[] args = { serviceName }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, ERROR_SENDING_CONNECTION_SERVICE, args), exception); communicationException.setErrorCode(ERROR_SENDING_CONNECTION_SERVICE); return communicationException; }
public static CommunicationException unableToConnect(String serviceName, Exception exception) { Object[] args = { serviceName }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, UNABLE_TO_CONNECT, args), exception); communicationException.setErrorCode(UNABLE_TO_CONNECT); return communicationException; }
public static CommunicationException unableToConnect(String serviceName, Exception exception) { Object[] args = { serviceName }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, UNABLE_TO_CONNECT, args), exception); communicationException.setErrorCode(UNABLE_TO_CONNECT); return communicationException; }
public static CommunicationException unableToPropagateChanges(String serviceName, Exception exception) { Object[] args = { serviceName }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, UNABLE_TO_PROPAGATE_CHANGES, args), exception); communicationException.setErrorCode(UNABLE_TO_PROPAGATE_CHANGES); return communicationException; }
public static CommunicationException errorSendingMessage(String serviceId, Exception exception) { Object[] args = { serviceId }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, ERROR_SENDING_MESSAGE, args), exception); communicationException.setErrorCode(ERROR_SENDING_MESSAGE); return communicationException; } }
public static CommunicationException errorInInvocation(Exception exception) { Object[] args = { Helper.printStackTraceToString(exception) }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, ERROR_IN_INVOCATION, args), exception); communicationException.setErrorCode(ERROR_IN_INVOCATION); return communicationException; }
public static CommunicationException errorInInvocation(Exception exception) { Object[] args = { Helper.printStackTraceToString(exception) }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, ERROR_IN_INVOCATION, args), exception); communicationException.setErrorCode(ERROR_IN_INVOCATION); return communicationException; }
public static CommunicationException errorInInvocation(Exception exception) { Object[] args = { Helper.printStackTraceToString(exception) }; CommunicationException communicationException = new CommunicationException(ExceptionMessageGenerator.buildMessage(CommunicationException.class, ERROR_IN_INVOCATION, args), exception); communicationException.setErrorCode(ERROR_IN_INVOCATION); return communicationException; }