Top Description Constructors Methods
javax.xml.bind.helpers

public Class PrintConversionEventImpl

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

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.

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

Constructor Summary

AccessConstructor and Description
public
PrintConversionEventImpl(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 PrintConversionEventImpl.

public
PrintConversionEventImpl(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 PrintConversionEventImpl.

Method Summary

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

Constructor Detail

PrintConversionEventImplback to summary
public PrintConversionEventImpl(int _severity, String _message, ValidationEventLocator _locator)

Create a new PrintConversionEventImpl.

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
PrintConversionEventImplback to summary
public PrintConversionEventImpl(int _severity, String _message, ValidationEventLocator _locator, Throwable _linkedException)

Create a new PrintConversionEventImpl.

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