core.exception.EpikosException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of EpikosRestService Show documentation
Show all versions of EpikosRestService Show documentation
Epikos is a Rest Serivce framework which can be extend to develop any other Rest API/Services. For more
detail please checkout github (https://github.com/epikosrest/epikos.git)
package core.exception;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Created by nitina on 11/2/16.
*/
public class EpikosException extends Exception {
Logger logger = LoggerFactory.getLogger(EpikosException.class);
public EpikosException(String message){
super(message);
logger.error(message);
}
public EpikosException(String message,Exception cause){
super(message,cause);
logger.error(message,cause);
}
}