001 /* 002 * $Id: NotIdentifiableEventImpl.java,v 1.4 2003/02/13 23:41:06 kk122374 Exp $ 003 * 004 * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. 005 * 006 * This software is the proprietary information of Sun Microsystems, Inc. 007 * Use is subject to license terms. 008 * 009 */ 010 011 package javax.xml.bind.helpers; 012 013 import javax.xml.bind.ValidationEventLocator; 014 015 /** 016 * Default implementation of the NotIdentifiableEvent interface. 017 * 018 * <p> 019 * JAXB providers are allowed to use whatever class that implements 020 * the ValidationEvent interface. This class is just provided for a 021 * convenience. 022 * 023 * @author <ul><li>Ryan Shoemaker, Sun Microsystems, Inc.</li></ul> 024 * @version $Revision: 1.4 $ 025 * @see javax.xml.bind.NotIdentifiableEvent 026 * @see javax.xml.bind.Validator 027 * @see javax.xml.bind.ValidationEventHandler 028 * @see javax.xml.bind.ValidationEvent 029 * @see javax.xml.bind.ValidationEventLocator 030 * @since JAXB1.0 031 */ 032 public class NotIdentifiableEventImpl 033 extends ValidationEventImpl 034 implements javax.xml.bind.NotIdentifiableEvent { 035 036 /** 037 * Create a new NotIdentifiableEventImpl. 038 * 039 * @param _severity The severity value for this event. Must be one of 040 * ValidationEvent.WARNING, ValidationEvent.ERROR, or 041 * ValidationEvent.FATAL_ERROR 042 * @param _message The text message for this event - may be null. 043 * @param _locator The locator object for this event - may be null. 044 * @throws IllegalArgumentException if an illegal severity field is supplied 045 */ 046 public NotIdentifiableEventImpl( int _severity, String _message, 047 ValidationEventLocator _locator) { 048 049 super(_severity, _message, _locator); 050 } 051 052 /** 053 * Create a new NotIdentifiableEventImpl. 054 * 055 * @param _severity The severity value for this event. Must be one of 056 * ValidationEvent.WARNING, ValidationEvent.ERROR, or 057 * ValidationEvent.FATAL_ERROR 058 * @param _message The text message for this event - may be null. 059 * @param _locator The locator object for this event - may be null. 060 * @param _linkedException An optional linked exception that may provide 061 * additional information about the event - may be null. 062 * @throws IllegalArgumentException if an illegal severity field is supplied 063 */ 064 public NotIdentifiableEventImpl( int _severity, String _message, 065 ValidationEventLocator _locator, 066 Throwable _linkedException) { 067 068 super(_severity, _message, _locator, _linkedException); 069 } 070 071 }