Examples of mailToWebmaster()


Examples of hirondelle.web4j.webmaster.TroubleTicket.mailToWebmaster()

    problem.append("URL : " + fTargetURL  + NEW_LINE);
    problem.append("Problem : " + aProblem);
    fLogger.severe(problem.toString());
    TroubleTicket ticket = new TroubleTicket(problem.toString());
    try {
      ticket.mailToWebmaster();
    }
    catch(AppException ex){
      fLogger.severe("Cannot send email regarding bad response.");
    }
  }
View Full Code Here

Examples of hirondelle.web4j.webmaster.TroubleTicket.mailToWebmaster()

    fLogger.severe("TOP LEVEL CATCHING Throwable");
    fLogger.severe( troubleTicket.toString() );
    log("SERIOUS PROBLEM OCCURRED.");
    log( troubleTicket.toString() );
    fConfig.getServletContext().setAttribute(MOST_RECENT_TROUBLE_TICKET, troubleTicket);
    troubleTicket.mailToWebmaster();
  }

  /**
   Inform the webmaster of a performance problem.
  
View Full Code Here

Examples of hirondelle.web4j.webmaster.TroubleTicket.mailToWebmaster()

    TroubleTicket troubleTicket = new TroubleTicket(ex, aRequest);
    fLogger.severe("Poor response time : " + aMilliseconds + " milliseconds");
    fLogger.severe( troubleTicket.toString() );
    log("Poor response time : " + aMilliseconds + " milliseconds");
    log( troubleTicket.toString() );
    troubleTicket.mailToWebmaster();
  }

  // PRIVATE

  /** Mutable field. Must be accessed in thread-safe way.  */
 
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.