NotIdentifiableEventImpl (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.xml.bind.helpers Class NotIdentifiableEventImpl

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

public class NotIdentifiableEventImpl
extends ValidationEventImpl
implements NotIdentifiableEvent

Default implementation of the NotIdentifiableEvent 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.
另请参见:
NotIdentifiableEvent, Validator, ValidationEventHandler, ValidationEvent, ValidationEventLocator

字段摘要
 
Fields inherited from interface javax.xml.bind.ValidationEvent
ERROR, FATAL_ERROR, WARNING
 
构造器摘要
NotIdentifiableEventImpl(int _severity, String _message, ValidationEventLocator _locator)
          Create a new NotIdentifiableEventImpl.
NotIdentifiableEventImpl(int _severity, String _message, ValidationEventLocator _locator, Throwable _linkedException)
          Create a new NotIdentifiableEventImpl.
 
方法摘要
 
类方法继承 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
 

构造器详细信息

NotIdentifiableEventImpl

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

参数:
_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


NotIdentifiableEventImpl

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

参数:
_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. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.