01: /*
02: * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
03: * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04: */
05:
06: package javax.xml.bind.helpers;
07:
08: import javax.xml.bind.ValidationEventLocator;
09:
10: /**
11: * Default implementation of the NotIdentifiableEvent interface.
12: *
13: * <p>
14: * JAXB providers are allowed to use whatever class that implements
15: * the ValidationEvent interface. This class is just provided for a
16: * convenience.
17: *
18: * @author <ul><li>Ryan Shoemaker, Sun Microsystems, Inc.</li></ul>
19: * @version $Revision: 1.1 $
20: * @see javax.xml.bind.NotIdentifiableEvent
21: * @see javax.xml.bind.Validator
22: * @see javax.xml.bind.ValidationEventHandler
23: * @see javax.xml.bind.ValidationEvent
24: * @see javax.xml.bind.ValidationEventLocator
25: * @since JAXB1.0
26: */
27: public class NotIdentifiableEventImpl extends ValidationEventImpl
28: implements javax.xml.bind.NotIdentifiableEvent {
29:
30: /**
31: * Create a new NotIdentifiableEventImpl.
32: *
33: * @param _severity The severity value for this event. Must be one of
34: * ValidationEvent.WARNING, ValidationEvent.ERROR, or
35: * ValidationEvent.FATAL_ERROR
36: * @param _message The text message for this event - may be null.
37: * @param _locator The locator object for this event - may be null.
38: * @throws IllegalArgumentException if an illegal severity field is supplied
39: */
40: public NotIdentifiableEventImpl(int _severity, String _message,
41: ValidationEventLocator _locator) {
42:
43: super (_severity, _message, _locator);
44: }
45:
46: /**
47: * Create a new NotIdentifiableEventImpl.
48: *
49: * @param _severity The severity value for this event. Must be one of
50: * ValidationEvent.WARNING, ValidationEvent.ERROR, or
51: * ValidationEvent.FATAL_ERROR
52: * @param _message The text message for this event - may be null.
53: * @param _locator The locator object for this event - may be null.
54: * @param _linkedException An optional linked exception that may provide
55: * additional information about the event - may be null.
56: * @throws IllegalArgumentException if an illegal severity field is supplied
57: */
58: public NotIdentifiableEventImpl(int _severity, String _message,
59: ValidationEventLocator _locator, Throwable _linkedException) {
60:
61: super(_severity, _message, _locator, _linkedException);
62: }
63:
64: }
|