setCompileDir does not throw exception and getCompileDir added