Code example for NotActiveException

Methods: getMessage

0
    /** 
     * @tests java.io.NotActiveException#NotActiveException(java.lang.String) 
     */ 
    public void test_ConstructorLjava_lang_String() { 
        String message = "Exception message";
        NotActiveException e = new NotActiveException(message);
        assertSame(message, e.getMessage());
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java