throw new NullPointerException("request or response parameter is null");
// First check to see whether this is a non-JSF render request
if (request.getParameter(Bridge.NONFACES_TARGET_PATH_PARAMETER) != null)
{
throw new BridgeNotAFacesRequestException("NonFaces target = "
+ request.getParameter(Bridge.NONFACES_TARGET_PATH_PARAMETER));
}
// must wait until after init to get at the session
// since view mode mapping must always exist -- check it