PrintConversionEventImpl (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.xml.bind.helpers Class PrintConversionEventImpl

java.lang.Object
  extended by javax.xml.bind.helpers.ValidationEventImpl
      extended by javax.xml.bind.helpers.PrintConversionEventImpl
所有已实现的接口:
PrintConversionEvent, ValidationEvent

public class PrintConversionEventImpl
extends ValidationEventImpl
implements PrintConversionEvent

Default implementation of the PrintConversionEvent interface.

JAXB providers are allowed to use whatever class that implements the ValidationEvent interface. This class is just provided for a convenience.

从以下版本开始:
JAXB1.0
版本:
$Revision: 1.1 $
作者:
  • Ryan Shoemaker, Sun Microsystems, Inc.
另请参见:
PrintConversionEvent, Validator, ValidationEventHandler, ValidationEvent, ValidationEventLocator

字段摘要
 
Fields inherited from interface javax.xml.bind.ValidationEvent
ERROR, FATAL_ERROR, WARNING
 
构造器摘要
PrintConversionEventImpl(int _severity, String _message, ValidationEventLocator _locator)
          Create a new PrintConversionEventImpl.
PrintConversionEventImpl(int _severity, String _message, ValidationEventLocator _locator, Throwable _linkedException)
          Create a new PrintConversionEventImpl.
 
方法摘要
 
类方法继承 javax.xml.bind.helpers.ValidationEventImpl
getLinkedException, getLocator, getMessage, getSeverity, setLinkedException, setLocator, setMessage, setSeverity, toString
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.bind.ValidationEvent
getLinkedException, getLocator, getMessage, getSeverity
 

构造器详细信息

PrintConversionEventImpl

public PrintConversionEventImpl(int _severity,
                                String _message,
                                ValidationEventLocator _locator)
Create a new PrintConversionEventImpl.

参数:
_severity - The severity value for this event. Must be one of ValidationEvent.WARNING, ValidationEvent.ERROR, or ValidationEvent.FATAL_ERROR
_message - The text message for this event - may be null.
_locator - The locator object for this event - may be null.
抛出异常:
IllegalArgumentException - if an illegal severity field is supplied


PrintConversionEventImpl

public PrintConversionEventImpl(int _severity,
                                String _message,
                                ValidationEventLocator _locator,
                                Throwable _linkedException)
Create a new PrintConversionEventImpl.

参数:
_severity - The severity value for this event. Must be one of ValidationEvent.WARNING, ValidationEvent.ERROR, or ValidationEvent.FATAL_ERROR
_message - The text message for this event - may be null.
_locator - The locator object for this event - may be null.
_linkedException - An optional linked exception that may provide additional information about the event - may be null.
抛出异常:
IllegalArgumentException - if an illegal severity field is supplied


Java EE 5 SDK

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


提交错误或意见

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