class ExceptionUtil {

    public static boolean isExceptionMsg(final String toCompare, final String message) {
        return (null == message ? false : message.contains(toCompare));
    }

    private  ExceptionUtil();

}