< prev index next >

src/java.xml.bind/share/classes/javax/xml/bind/DataBindingException.java

Print this page




  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.xml.bind;
  27 
  28 /**
  29  * Exception that represents a failure in a JAXB operation.
  30  *
  31  * <p>
  32  * This exception differs from {@link JAXBException} in that
  33  * this is an unchecked exception, while <tt>JAXBException</tt>
  34  * is a checked exception.
  35  *
  36  * @see JAXB
  37  * @since 1.6, JAXB 2.1
  38  */
  39 public class DataBindingException extends RuntimeException {
  40     public DataBindingException(String message, Throwable cause) {
  41         super(message, cause);
  42     }
  43 
  44     public DataBindingException(Throwable cause) {
  45         super(cause);
  46     }
  47 }


  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.xml.bind;
  27 
  28 /**
  29  * Exception that represents a failure in a JAXB operation.
  30  *
  31  * <p>
  32  * This exception differs from {@link JAXBException} in that
  33  * this is an unchecked exception, while {@code JAXBException}
  34  * is a checked exception.
  35  *
  36  * @see JAXB
  37  * @since 1.6, JAXB 2.1
  38  */
  39 public class DataBindingException extends RuntimeException {
  40     public DataBindingException(String message, Throwable cause) {
  41         super(message, cause);
  42     }
  43 
  44     public DataBindingException(Throwable cause) {
  45         super(cause);
  46     }
  47 }
< prev index next >