1 23 24 package com.sun.enterprise.appclient; 25 26 import org.xml.sax.SAXParseException ; 27 import java.util.logging.Logger ; 28 import java.util.logging.Level ; 29 import com.sun.logging.LogDomains; 30 31 37 public class ACCEntityResolver 38 extends com.sun.enterprise.config.clientbeans.ClientBeansResolver { 39 40 private static final Logger _logger = 41 LogDomains.getLogger(LogDomains.ACC_LOGGER); 42 43 47 public void error(SAXParseException e) 48 throws SAXParseException { 49 _logger.log(Level.SEVERE, "acc.handler_error", e.getMessage()); 50 } 51 public void fatalError(SAXParseException e) 52 throws SAXParseException { 53 throw e; 54 } 55 public void warning(SAXParseException e) 56 throws SAXParseException { 57 _logger.log(Level.WARNING, "acc.handler_warning", e.getMessage()); 58 } 59 } 60 61 62 63 | Popular Tags |