Code example for CRLException

Methods: getCausegetMessage

0
     * Test for <code>CRLException(String)</code> constructor Assertion: 
     * constructs CRLException when <code>msg</code> is null 
     */ 
    public void testCRLException03() { 
        String msg = null;
        CRLException tE = new CRLException(msg);
        assertNull("getMessage() must return null.", tE.getMessage());
        assertNull("getCause() must return null", tE.getCause());
    } 
 
    /** 
     * Test for <code>CRLException(Throwable)</code> constructor Assertion: 
     * constructs CRLException when <code>cause</code> is null 
     */ 
    public void testCRLException04() { 
        Throwable cause = null;
        CRLException tE = new CRLException(cause);
        assertNull("getMessage() must return null.", tE.getMessage());
        assertNull("getCause() must return null", tE.getCause());
    } 
Connect your IDE to all the code out there  Get Codota for Java