KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > bind > helpers > NotIdentifiableEventImpl


1 /*
2  * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 package javax.xml.bind.helpers;
7
8 import javax.xml.bind.ValidationEventLocator;
9
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.2 $
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
28     extends ValidationEventImpl
29     implements javax.xml.bind.NotIdentifiableEvent {
30
31     /**
32      * Create a new NotIdentifiableEventImpl.
33      *
34      * @param _severity The severity value for this event. Must be one of
35      * ValidationEvent.WARNING, ValidationEvent.ERROR, or
36      * ValidationEvent.FATAL_ERROR
37      * @param _message The text message for this event - may be null.
38      * @param _locator The locator object for this event - may be null.
39      * @throws IllegalArgumentException if an illegal severity field is supplied
40      */

41     public NotIdentifiableEventImpl( int _severity, String JavaDoc _message,
42                                       ValidationEventLocator _locator) {
43             
44         super(_severity, _message, _locator);
45     }
46
47     /**
48      * Create a new NotIdentifiableEventImpl.
49      *
50      * @param _severity The severity value for this event. Must be one of
51      * ValidationEvent.WARNING, ValidationEvent.ERROR, or
52      * ValidationEvent.FATAL_ERROR
53      * @param _message The text message for this event - may be null.
54      * @param _locator The locator object for this event - may be null.
55      * @param _linkedException An optional linked exception that may provide
56      * additional information about the event - may be null.
57      * @throws IllegalArgumentException if an illegal severity field is supplied
58      */

59     public NotIdentifiableEventImpl( int _severity, String JavaDoc _message,
60                                       ValidationEventLocator _locator,
61                                       Throwable JavaDoc _linkedException) {
62             
63         super(_severity, _message, _locator, _linkedException);
64     }
65
66 }
67
Popular Tags