Code example for InvalidKeyException

Methods: getCausegetMessage

     * <code>cause</code> is null <code>msg</code> is null 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "", 
        method = "InvalidKeyException", 
        args = {java.lang.String.class, java.lang.Throwable.class}
    public void testInvalidKeyException06() { 
        InvalidKeyException tE = new InvalidKeyException(null, null);
        assertNull("getMessage() must return null", tE.getMessage());
        assertNull("getCause() must return null", tE.getCause());
     * Test for <code>InvalidKeyException(String, Throwable)</code> 
     * constructor Assertion: constructs InvalidKeyException when 
     * <code>cause</code> is null <code>msg</code> is not null 
Connect your IDE to all the code out there  Get Codota for Java