nyla.solutions.global.exception.VersionException 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;
/**
* A special version setup exception related to configuration.
*
* ERROR_CODE: DF012
*
* @author Gregory Green
*
*/
public class VersionException extends SetupException
{
/**
* String DEFAULT_ERROR_CODE = "DF012"
*/
public static final String DEFAULT_ERROR_CODE = "DF012";
/**
* @param message the configuration error message
*/
public VersionException(String message)
{
super(message);
this.setCategory(DEFAULT_ERROR_CATEGORY_NM);
this.setCode(DEFAULT_ERROR_CODE);
}// --------------------------------------------------------
/**
*
* @param cause the cause
*/
public VersionException(Throwable cause)
{
super(cause);
this.setCategory(DEFAULT_ERROR_CATEGORY_NM);
this.setCode(DEFAULT_ERROR_CODE);
}// --------------------------------------------------------
/**
*
*/
private static final long serialVersionUID = 7715029939238736455L;
}