XMLReporter (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.stream Interface XMLReporter


public interface XMLReporter

This interface is used to report non-fatal errors. Only warnings should be echoed through this interface.

版本:
1.0
作者:
Copyright (c) 2003 by BEA Systems. All Rights Reserved.

方法摘要
 void report(String message, String errorType, Object relatedInformation, Location location)
          Report the desired message in an application specific format.
 

方法详细信息

report

void report(String message,
            String errorType,
            Object relatedInformation,
            Location location)
            throws XMLStreamException
Report the desired message in an application specific format. Only warnings and non-fatal errors should be reported through this interface. Fatal errors should be thrown as XMLStreamException.

参数:
message - the error message
errorType - an implementation defined error type
relatedInformation - information related to the error, if available
location - the location of the error, if available
抛出异常:
XMLStreamException

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.