Code example for SignatureException

Methods: getCause, getMessage

0
        method = "SignatureException", 
        args = {java.lang.String.class}
    ) 
    public void testSignatureException03() { 
        String msg = null;
        SignatureException tE = new SignatureException(msg);
        assertNull("getMessage() must return null.", tE.getMessage());
        assertNull("getCause() must return null", tE.getCause());
    } 
 
    /** 
     * Test for <code>SignatureException(Throwable)</code> constructor 
     * Assertion: constructs SignatureException when <code>cause</code> is 
     * null 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "SignatureException", 
        args = {java.lang.Throwable.class}
    )