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

nyla.solutions.core.exception.CommunicationException Maven / Gradle / Ivy

Go to download

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;

/**
 * 
 * CommunicationException provides a set of functions to
 * 
* @author Gregory Green * @version 1.0 */ public class CommunicationException extends FatalException { public static final String DEFAULT_ERROR_CODE = "COM000"; public static final String DEFAULT_ERROR_CATEGORY = "COMM"; /** * */ public CommunicationException() { super(); this.setCode(DEFAULT_ERROR_CODE); this.setCategory(DEFAULT_ERROR_CATEGORY); } /** * @param aMessage */ public CommunicationException(String aMessage) { super(aMessage); this.setCode(DEFAULT_ERROR_CODE); this.setCategory(DEFAULT_ERROR_CATEGORY); } /** * @param aThrowable */ public CommunicationException(Throwable aThrowable) { super(aThrowable); this.setCode(DEFAULT_ERROR_CODE); this.setCategory(DEFAULT_ERROR_CATEGORY); }// -------------------------------------------- /** * @param aMessage * @param aThrowable */ public CommunicationException(String aMessage, Throwable aThrowable) { super(aMessage, aThrowable); this.setCode(DEFAULT_ERROR_CODE); this.setCategory(DEFAULT_ERROR_CATEGORY); } static final long serialVersionUID = CommunicationException.class.getName() .hashCode(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy