Code example for UnrecoverableKeyException

Methods: getCause, getMessage

0
        notes = "", 
        method = "UnrecoverableKeyException", 
        args = {} 
    ) 
    public void testUnrecoverableKeyException01() { 
        UnrecoverableKeyException tE = new UnrecoverableKeyException();
        assertNull("getMessage() must return null.", tE.getMessage());
        assertNull("getCause() must return null", tE.getCause());
    } 
 
    /** 
     * Test for <code>UnrecoverableKeyException(String)</code> constructor 
     * Assertion: constructs UnrecoverableKeyException with detail message msg. 
     * Parameter <code>msg</code> is not null. 
     */ 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "", 
        method = "UnrecoverableKeyException", 
        args = {java.lang.String.class}
    )