nyla.solutions.global.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.global Show documentation
Show all versions of nyla.solutions.global Show documentation
Nyla Solutions Global Java API provides support for basic application
utilities (application configuration, data encryption, debugger and text
processing).
The newest version!
package nyla.solutions.global.exception;
import nyla.solutions.global.exception.FatalException;
/**
* @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 arg0
*/
public ConnectionException(String arg0)
{
super(arg0);
this.setCode(DEFAULT_ERROR_CODE);
}
/**
* @param arg0
* @param arg1
*/
public ConnectionException(String arg0, Throwable arg1)
{
super(arg0, arg1);
this.setCode(DEFAULT_ERROR_CODE);
}
/**
* @param arg0
*/
public ConnectionException(Throwable arg0)
{
super(arg0);
this.setCode(DEFAULT_ERROR_CODE);
}// --------------------------------------------
static final long serialVersionUID = 1;
}