Class ConsoleErrorReporter
- java.lang.Object
-
- com.sun.tools.ws.wscompile.ErrorReceiver
-
- com.sun.tools.ws.processor.modeler.wsdl.ConsoleErrorReporter
-
- All Implemented Interfaces:
ErrorListener,com.sun.xml.bind.api.ErrorListener,ErrorHandler
public class ConsoleErrorReporter extends ErrorReceiver
-
-
Constructor Summary
Constructors Constructor Description ConsoleErrorReporter(OutputStream outputStream)ConsoleErrorReporter(PrintStream stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(SAXParseException e)voidenableDebugging()voiderror(SAXParseException e)voidfatalError(SAXParseException e)booleanhasError()voidinfo(SAXParseException e)Used to report possibly verbose information that can be safely ignored.voidwarning(SAXParseException e)-
Methods inherited from class com.sun.tools.ws.wscompile.ErrorReceiver
debug, error, error, error, error, getLocationString, pollAbort, warning
-
-
-
-
Constructor Detail
-
ConsoleErrorReporter
public ConsoleErrorReporter(PrintStream stream)
-
ConsoleErrorReporter
public ConsoleErrorReporter(OutputStream outputStream)
-
-
Method Detail
-
hasError
public boolean hasError()
-
error
public void error(SAXParseException e)
- Specified by:
errorin interfaceErrorHandler- Specified by:
errorin interfaceErrorListener- Specified by:
errorin interfacecom.sun.xml.bind.api.ErrorListener- Specified by:
errorin classErrorReceiver
-
fatalError
public void fatalError(SAXParseException e)
- Specified by:
fatalErrorin interfaceErrorHandler- Specified by:
fatalErrorin interfaceErrorListener- Specified by:
fatalErrorin interfacecom.sun.xml.bind.api.ErrorListener- Specified by:
fatalErrorin classErrorReceiver
-
warning
public void warning(SAXParseException e)
- Specified by:
warningin interfaceErrorHandler- Specified by:
warningin interfaceErrorListener- Specified by:
warningin interfacecom.sun.xml.bind.api.ErrorListener- Specified by:
warningin classErrorReceiver
-
info
public void info(SAXParseException e)
Used to report possibly verbose information that can be safely ignored.- Specified by:
infoin interfaceErrorListener- Specified by:
infoin interfacecom.sun.xml.bind.api.ErrorListener- Specified by:
infoin classErrorReceiver
-
debug
public void debug(SAXParseException e)
- Specified by:
debugin classErrorReceiver
-
enableDebugging
public void enableDebugging()
-
-