nyla.solutions.core.exception.RequiredException 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;
import java.util.HashMap;
import java.util.Map;
/**
*
* RequiredException used to indicate that a given field is required.
*
* @author Gregory Green
* @version 1.0
*/
public class RequiredException extends DataException
{
/**
* Comment for serialVersionUID
*/
private static final long serialVersionUID = -5598182068206670293L;
/**
* Constructor for RequiredException initializes internal
* data settings.
* @param aField the field that is required
*/
public RequiredException(String aField)
{
if(aField == null)
aField = "";
Map