Examples of HostUnavailableSystemException


Examples of pt.opensoft.host.HostUnavailableSystemException

                }
                    logger.error(receiveTimer.ellapsed(), "[RCVD] {" + response + "} (len=" + response.length() + ")");
               
      }
     
      throw new HostUnavailableSystemException("SISTEMA CENTRAL INDISPONIVEL! ERRO COMUNICACOES! TIMEOUT!");

    } catch (Exception e) {
      logger.error(e);
      // s� mostra o erro se a mensagem n�o tiver dados confidenciais (ex: login)
   
      logger.error(sendTimer.ellapsed(), "[SENT] {" + request + "}");
   
      if (response != null && logger.getLevel().getLevel() < Level.FINER.getLevel()) {
                receiveTimer.stop();
                totalTimer.stop();
                if (threshold > 0 && !tooLongAlreadyDumped && totalTimer.ellapsed() > threshold){
                    logger.push("too long");
                    tooLongAlreadyDumped = true;
                }
        logger.error(receiveTimer.ellapsed(), "[RCVD] {" + response + "}");
      }
   
    throw new HostUnavailableSystemException("SISTEMA CENTRAL INDISPONIVEL! ERRO COMUNICACOES!");
    }
       
        if (threshold > 0 && !tooLongAlreadyDumped && totalTimer.ellapsed() > threshold){
            logger.push("too long");
            tooLongAlreadyDumped = true;
View Full Code Here

Examples of pt.opensoft.host.HostUnavailableSystemException

  protected String process (Object backingBean, FacesRequest request) throws ResourceException, Exception {
    try {
      return super.process(backingBean, request);
    } catch (ResourceException e) {
      throw new HostUnavailableSystemException(e.getMessage());
    }
  }
View Full Code Here

Examples of pt.opensoft.host.HostUnavailableSystemException

  protected Response process (Request request) throws ResourceException, Exception {
    try {
      return super.process(request);
    } catch (ResourceException e) {
      throw new HostUnavailableSystemException(e.getMessage());
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.