Code example for SignatureException

Methods: getCause, getMessage

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