001/** 002 * Licensed to the Apache Software Foundation (ASF) under one 003 * or more contributor license agreements. See the NOTICE file 004 * distributed with this work for additional information 005 * regarding copyright ownership. The ASF licenses this file 006 * to you under the Apache License, Version 2.0 (the 007 * "License"); you may not use this file except in compliance 008 * with the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, software 013 * distributed under the License is distributed on an "AS IS" BASIS, 014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 015 * See the License for the specific language governing permissions and 016 * limitations under the License. 017 */ 018 019package org.apache.commons.rdf.jena; 020 021/** 022 * Exception thrown when a problem arises across the Jena-CommonRDF boundary. 023 * <p> 024 * This should not happen in well-formed RDF data but, for example, Jena triples 025 * allow 026 * <a href="http://www.w3.org/TR/rdf11-concepts/#section-generalized-rdf" > 027 * generalized RDF</a>. 028 */ 029 030public class ConversionException extends RuntimeException { 031 private static final long serialVersionUID = -898179977312382568L; 032 033 public ConversionException() { 034 super(); 035 } 036 037 public ConversionException(final String message) { 038 super(message); 039 } 040 041 public ConversionException(final Throwable cause) { 042 super(cause); 043 } 044 045 public ConversionException(final String message, final Throwable cause) { 046 super(message, cause); 047 } 048}