You might need to include the package name, e.g.

  @throws java.io.Exception ...

Our UDF API is written in java and uses @throws with full package names that seems to work.

On 2024-02-28 04:46 PM, Mike Beckerle wrote:
I am having trouble with scaladoc and javadoc.

javadoc comments like this:

/**
  * Wraps a layer encoder around the given OutputStream.
  *
  * @param jos The OutputStream to be wrapped.
  * @param lr The LayerRuntime object containing runtime information
and stateful services.
  * @return The wrapped OutputStream.
  * @throws IOException if an I/O error occurs.
  */

Cause sbt publishLocal to fail in doc generation with Could not find
any member to link for "IOException".

This is from the Layer.java file.

Any suggestions?


Reply via email to