ch.agent.crnickl.mongodb.T2DBMException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crnickl-mongodb Show documentation
Show all versions of crnickl-mongodb Show documentation
MongoDB implementation of the CrNiCKL database
/*
* Copyright 2012-2013 Hauser Olsson GmbH
*
* 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 ch.agent.crnickl.mongodb;
import ch.agent.core.KeyedMessage;
import ch.agent.crnickl.T2DBException;
/**
* A T2DBJException is thrown by JDBC methods of CrNiCKL when they need to
* throw a checked exception.
*
* @author Jean-Paul Vetterli
*/
public class T2DBMException extends T2DBException {
private static final long serialVersionUID = 6657865517163634816L;
/**
* Construct an exception with a keyed message.
*
* @param message a {@link KeyedMessage}
*/
public T2DBMException(KeyedMessage message) {
super(message);
}
/**
* Construct an exception with a keyed message and the causing exception.
*
* @param message a {@link KeyedMessage}
* @param cause a {@link Throwable}
*/
public T2DBMException(KeyedMessage message, Throwable cause) {
super(message, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy