nyla.solutions.core.exception.ConnectionException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.core Show documentation
Show all versions of nyla.solutions.core Show documentation
This Java API provides support for application utilities (application configuration, data encryption, debugger, text processing, and more).
The newest version!
package nyla.solutions.core.exception;
/**
* @author Gregory Green
* @version 1.0
*
* ConnectionException
*
*/
public class ConnectionException extends FatalException
{
public static final String DEFAULT_ERROR_CODE = "COM000";
/**
*
*/
public ConnectionException()
{
super();
this.setCode(DEFAULT_ERROR_CODE);
}
/**
* @param message the exception message
*/
public ConnectionException(String message)
{
super(message);
this.setCode(DEFAULT_ERROR_CODE);
}
/**
* @param message
* @param exception
*/
public ConnectionException(String message, Throwable exception)
{
super(message, exception);
this.setCode(DEFAULT_ERROR_CODE);
}
/**
* @param arg0
*/
public ConnectionException(Throwable arg0)
{
super(arg0);
this.setCode(DEFAULT_ERROR_CODE);
}// --------------------------------------------
static final long serialVersionUID = 1;
}