All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nyla.solutions.global.exception.ReadOnlyException Maven / Gradle / Ivy

Go to download

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 java.util.HashMap;
import java.util.Map;

/**
 * 
 * ReadOnlyException used to indicate that a given field is read only.
 * 
* @author Gregory Green * @version 1.0 */ public class ReadOnlyException extends DataException { /** * Comment for serialVersionUID */ private static final long serialVersionUID = -4137544711334684776L; /** * Constructor for RequiredException initializes internal * data settings. * @param aMesssage */ public ReadOnlyException(String aField) { if(aField == null) aField = ""; Map map = new HashMap (1); map.put("field", aField); formatMessage("ReadOnlyException.message", map); }// -------------------------------------------- }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy