Author: amilas Date: Tue Jun 12 17:34:38 2007 New Revision: 546687 URL: http://svn.apache.org/viewvc?view=rev&rev=546687 Log: added new exception class
Added: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/ADBException.java webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/DataBindException.java Added: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/ADBException.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/ADBException.java?view=auto&rev=546687 ============================================================================== --- webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/ADBException.java (added) +++ webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/ADBException.java Tue Jun 12 17:34:38 2007 @@ -0,0 +1,48 @@ +/* + * Copyright 2004,2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.axis2.databinding; + +import javax.xml.stream.Location; + +/** + * uses to handle ADB exceptions + */ + +public class ADBException extends DataBindException { + + public ADBException() { + } + + public ADBException(String string) { + super(string); + } + + public ADBException(Throwable throwable) { + super(throwable); + } + + public ADBException(String string, Throwable throwable) { + super(string, throwable); + } + + public ADBException(String string, Location location, Throwable throwable) { + super(string, location, throwable); + } + + public ADBException(String string, Location location) { + super(string, location); + } +} Added: webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/DataBindException.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/DataBindException.java?view=auto&rev=546687 ============================================================================== --- webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/DataBindException.java (added) +++ webservices/axis2/trunk/java/modules/adb/src/org/apache/axis2/databinding/DataBindException.java Tue Jun 12 17:34:38 2007 @@ -0,0 +1,50 @@ +/* + * Copyright 2004,2005 The Apache Software Foundation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.axis2.databinding; + +import javax.xml.stream.XMLStreamException; +import javax.xml.stream.Location; + +/** + * handles databinding exceptions + */ + +public class DataBindException extends XMLStreamException { + + public DataBindException() { + } + + public DataBindException(String string) { + super(string); + } + + public DataBindException(Throwable throwable) { + super(throwable); + } + + public DataBindException(String string, Throwable throwable) { + super(string, throwable); + } + + public DataBindException(String string, Location location, Throwable throwable) { + super(string, location, throwable); + } + + public DataBindException(String string, Location location) { + super(string, location); + } + +} --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]