01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.rdbms.exceptions;
07:
08: import java.sql.SQLException;
09:
10: import org.openrdf.query.QueryEvaluationException;
11:
12: /**
13: * Wraps a {@link SQLException} or {@link RdbmsException}.
14: *
15: * @author James Leigh
16: *
17: */
18: public class RdbmsQueryEvaluationException extends
19: QueryEvaluationException {
20: private static final long serialVersionUID = 8026425066876739868L;
21:
22: public RdbmsQueryEvaluationException(SQLException e) {
23: super (e);
24: }
25:
26: public RdbmsQueryEvaluationException(RdbmsException e) {
27: super (e);
28: }
29:
30: public RdbmsQueryEvaluationException(String msg, SQLException e) {
31: super(msg, e);
32: }
33:
34: }
|