Code example for GeneralSecurityException

0
        String msg = null; 
        Throwable th = null; 
        return new Object[] { new GeneralSecurityException(), new GeneralSecurityException(msg), 
                new GeneralSecurityException(msgs[1]), 
                new GeneralSecurityException(new Throwable()), new GeneralSecurityException(th), 
                new GeneralSecurityException(msgs[1], dExc) }; 
    } 
 
    public static void main(String[] args) { 
       junit.textui.TestRunner.run(GeneralSecurityExceptionTest.class); 
    } 
}