org.jnosql.artemis.ArtemisException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artemis-core Show documentation
Show all versions of artemis-core Show documentation
Eclipse JNoSQL Mapping, Artemis API, core engine
/*
* Copyright (c) 2017 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
*
* You may elect to redistribute this code under either of these licenses.
*
* Contributors:
*
* Otavio Santana
*/
package org.jnosql.artemis;
import org.jnosql.diana.api.JNoSQLException;
/**
* The root exception to Artemis project
*/
public class ArtemisException extends JNoSQLException {
/**
* Constructs a new runtime exception with null as its detail message.
*/
public ArtemisException() {
super();
}
/**
* Constructs a new runtime exception with the specified detail message.
*
* @param message the message
*/
public ArtemisException(String message) {
super(message);
}
/**
* Constructs a new runtime exception with the specified detail message and cause.
*
* @param message the message
* @param cause the cause
*/
public ArtemisException(String message, Throwable cause) {
super(message, cause);
}
/**
* Constructs a new runtime exception with the specified cause and a detail
* message of (cause==null ? null : cause.toString()) (which typically contains
* the class and detail message of cause).
*
* @param cause the cause
*/
public ArtemisException(Throwable cause) {
super(cause);
}
/**
* Constructs a new runtime exception with the specified detail
* message, cause, suppression enabled or disabled, and writable stack
* trace enabled or disabled.
*
* @param message the message
* @param cause the cause
* @param enableSuppression the enableSuppression
* @param writableStackTrace the writableStackTrace
*/
protected ArtemisException(String message, Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy