| <?xml version='1.0' encoding='UTF-8'?> | |
| <!-- Schema file written by PDE --> | |
| <schema targetNamespace="org.eclipse.datatools.connectivity.ui" xmlns="http://www.w3.org/2001/XMLSchema"> | |
| <annotation> | |
| <appInfo> | |
| <meta.schema plugin="org.eclipse.datatools.connectivity.ui" id="connectionExceptionHandler" name="Connection Exception Handler"/> | |
| </appInfo> | |
| <documentation> | |
| Provides a ConnectionExceptionHandler. | |
| A ConnectionExceptionHandler must implement org.eclipse.datatools.connectivity.ui.status.IConnectionExceptionHandler. It is used to provide a useful message when an error has occurred. | |
| When a connection error occurs, the SQLException generated may not always contain useful information. A ConnectionExceptionHandler can take the exception and context and use it to generate a new SQLException that contains a better message. | |
| Since SQL codes vary by database vendor, implementers designate a class to generate the enhanced SQLException based on the vendor. | |
| This SQLException can be passed wrapped in Status object for proper handling. | |
| </documentation> | |
| </annotation> | |
| <element name="extension"> | |
| <annotation> | |
| <appInfo> | |
| <meta.element /> | |
| </appInfo> | |
| </annotation> | |
| <complexType> | |
| <sequence> | |
| <element ref="handler" minOccurs="1" maxOccurs="unbounded"/> | |
| </sequence> | |
| <attribute name="point" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="id" type="string"> | |
| <annotation> | |
| <documentation> | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="name" type="string"> | |
| <annotation> | |
| <documentation> | |
| </documentation> | |
| <appInfo> | |
| <meta.attribute translatable="true"/> | |
| </appInfo> | |
| </annotation> | |
| </attribute> | |
| </complexType> | |
| </element> | |
| <element name="handler"> | |
| <complexType> | |
| <attribute name="vendor" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| The database platform vendor, for example, as defined in the base properties of a <code>org.eclipse.datatools.connectivity.IConnectionProfile</code> | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="class" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| Fully qualified name of class that implements the org.eclipse.datatools.connectivity.ui.status.IConnectionExceptionHandler interface | |
| </documentation> | |
| <appInfo> | |
| <meta.attribute kind="java" basedOn=":org.eclipse.datatools.connectivity.ui.status.IConnectionExceptionHandler"/> | |
| </appInfo> | |
| </annotation> | |
| </attribute> | |
| </complexType> | |
| </element> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="since"/> | |
| </appInfo> | |
| <documentation> | |
| [Enter the first release in which this extension point appears.] | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="examples"/> | |
| </appInfo> | |
| <documentation> | |
| [Enter extension point usage example here.] | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="apiinfo"/> | |
| </appInfo> | |
| <documentation> | |
| [Enter API information here.] | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="implementation"/> | |
| </appInfo> | |
| <documentation> | |
| [Enter information about supplied implementation of this extension point.] | |
| </documentation> | |
| </annotation> | |
| <annotation> | |
| <appInfo> | |
| <meta.section type="copyright"/> | |
| </appInfo> | |
| <documentation> | |
| Copyright (c) 2010 IBM Corporation and others. | |
| All rights reserved. This program and the accompanying materials | |
| are made available under the terms of the Eclipse Public License v1.0 | |
| which accompanies this distribution, and is available at | |
| http://www.eclipse.org/legal/epl-v10.html | |
| Contributors: | |
| IBM Corporation - initial API and implementation | |
| </documentation> | |
| </annotation> | |
| </schema> |