com.guicedee.guicedpersistence.db.exceptions.NoConnectionInfoException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of guiced-persistence Show documentation
Show all versions of guiced-persistence Show documentation
A complete JPA 2.1 implementation for Standalone or EE Implementation. Enables Multiple Persistence units
with full JTA Support using BTM. Perfect for Guice implementations, test suites, and Guice enabled Web Applications or EAR Projects.
Requires JDK 8
package com.guicedee.guicedpersistence.db.exceptions;
/**
* Generic exception to mark that no connection information was supplied
*/
public class NoConnectionInfoException
extends RuntimeException
{
/**
* Generic exception to mark that no connection information was supplied
*/
public NoConnectionInfoException()
{
//Nothing needed
}
/**
* Generic exception to mark that no connection information was supplied
*
* @param message
*/
public NoConnectionInfoException(String message)
{
super(message);
}
/**
* Generic exception to mark that no connection information was supplied
*
* @param message
* @param cause
*/
public NoConnectionInfoException(String message, Throwable cause)
{
super(message, cause);
}
/**
* Generic exception to mark that no connection information was supplied
*
* @param cause
*/
public NoConnectionInfoException(Throwable cause)
{
super(cause);
}
/**
* Generic exception to mark that no connection information was supplied
*
* @param message
* @param cause
* @param enableSuppression
* @param writableStackTrace
*/
public NoConnectionInfoException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
{
super(message, cause, enableSuppression, writableStackTrace);
}
}