/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package hsm; /** * * @author TuoiCM */ public class HSMException extends Exception { private static final long serialVersionUID = -6122994861628966528L; protected static String diagnostic = "HSM EXCEPTION"; public HSMException() { super(diagnostic); } public HSMException(final String detail) { super(diagnostic + ": " + detail); } }