aerogear-controller 1.0.0.M1

org.jboss.aerogear.controller.log
Interface LoggerMessages


@MessageBundle(projectCode="AG_CONTROLLER")
public interface LoggerMessages

A JBoss-Logging MessageBundle containing translated Strings, Exceptions etc.

Contains no methods that perform logging. Refer to AeroGearLogger for that.


Field Summary
static LoggerMessages MESSAGES
           
 
Method Summary
 javax.servlet.ServletException mustRunInsideAContainer()
           
 RuntimeException routeNotFound(RequestMethod method, String requestURI, Set<String> acceptHeaders)
           
 

Field Detail

MESSAGES

static final LoggerMessages MESSAGES
Method Detail

mustRunInsideAContainer

@LogMessage(level=FATAL)
@Message(id=1,
         value="must be run inside a Servlet container")
javax.servlet.ServletException mustRunInsideAContainer()

routeNotFound

@LogMessage(level=ERROR)
@Message(id=4,
         value="method: \'%s\', requested URI: \'%s\', Accept: \'%s\'")
RuntimeException routeNotFound(RequestMethod method,
                                                  String requestURI,
                                                  Set<String> acceptHeaders)

aerogear-controller 1.0.0.M1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.