Top Description Constructors Methods
javax.xml.bind.helpers

public Class ParseConversionEventImpl

extends ValidationEventImpl
implements ParseConversionEvent
Class Inheritance
All Implemented Interfaces
javax.xml.bind.ParseConversionEvent, javax.xml.bind.ValidationEvent
Imports
javax.xml.bind.ParseConversionEvent, .ValidationEventLocator

Default implementation of the ParseConversionEvent interface.

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

Author
Since
1.6, JAXB 1.0
See Also
javax.xml.bind.ParseConversionEvent, javax.xml.bind.Validator, javax.xml.bind.ValidationEventHandler, javax.xml.bind.ValidationEvent, javax.xml.bind.ValidationEventLocator

Constructor Summary

AccessConstructor and Description
public
ParseConversionEventImpl(int
The severity value for this event. Must be one of ValidationEvent.WARNING, ValidationEvent.ERROR, or ValidationEvent.FATAL_ERROR
_severity
,
String
The text message for this event - may be null.
_message
,
ValidationEventLocator
The locator object for this event - may be null.
_locator
)

Create a new ParseConversionEventImpl.

public
ParseConversionEventImpl(int
The severity value for this event. Must be one of ValidationEvent.WARNING, ValidationEvent.ERROR, or ValidationEvent.FATAL_ERROR
_severity
,
String
The text message for this event - may be null.
_message
,
ValidationEventLocator
The locator object for this event - may be null.
_locator
,
Throwable
An optional linked exception that may provide additional information about the event - may be null.
_linkedException
)

Create a new ParseConversionEventImpl.

Method Summary

Inherited from javax.xml.bind.helpers.ValidationEventImpl:
getLinkedExceptiongetLocatorgetMessagegetSeveritysetLinkedExceptionsetLocatorsetMessagesetSeveritytoString

Constructor Detail

ParseConversionEventImplback to summary
public ParseConversionEventImpl(int _severity, String _message, ValidationEventLocator _locator)

Create a new ParseConversionEventImpl.

Parameters
_severity:int

The severity value for this event. Must be one of ValidationEvent.WARNING, ValidationEvent.ERROR, or ValidationEvent.FATAL_ERROR

_message:String

The text message for this event - may be null.

_locator:ValidationEventLocator

The locator object for this event - may be null.

Exceptions
IllegalArgumentException:
if an illegal severity field is supplied
ParseConversionEventImplback to summary
public ParseConversionEventImpl(int _severity, String _message, ValidationEventLocator _locator, Throwable _linkedException)

Create a new ParseConversionEventImpl.

Parameters
_severity:int

The severity value for this event. Must be one of ValidationEvent.WARNING, ValidationEvent.ERROR, or ValidationEvent.FATAL_ERROR

_message:String

The text message for this event - may be null.

_locator:ValidationEventLocator

The locator object for this event - may be null.

_linkedException:Throwable

An optional linked exception that may provide additional information about the event - may be null.

Exceptions
IllegalArgumentException:
if an illegal severity field is supplied