See MountsSpec::"Inconsistent throws clause in mounts causes a compiler error":
The configuration declares a provision that doesn't throw any exception. It mounts a provision that throws IOException. The generated class correctly inherits this and declares the mounted provision throws IOException, which is illegal and causes a compiler error in the generated code.
See
MountsSpec
::"Inconsistent throws clause in mounts causes a compiler error":The configuration declares a provision that doesn't throw any exception. It mounts a provision that throws
IOException
. The generated class correctly inherits this and declares the mounted provisionthrows IOException
, which is illegal and causes a compiler error in the generated code.