package com.mx.dla.dda.contrato.license.exceptions.dtos;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LicenseException extends Exception{

	private static final long serialVersionUID = 6058087215816293113L;
	protected Logger logger =  LoggerFactory.getLogger("app");
	
	public LicenseException(String message)
	{
		super(message);
		logger.error(message);
	}
	
	public LicenseException(String message , Throwable e)
	{
		super(message,e);
		logger.error("Error: {}", e);
	}

}