Class BuiltInToolInstantiationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tnsai.enums.BuiltInToolInstantiationException
All Implemented Interfaces:
Serializable

public class BuiltInToolInstantiationException extends RuntimeException
Thrown by BuiltInTool.instantiate() when the backing POJO cannot be resolved or constructed reflectively.

Common causes:

  • tnsai-tools not on the runtime classpath (ClassNotFoundException cause) — fix by adding the tnsai-tools dependency.
  • Backing POJO has no public no-arg constructor — fix by removing the offending explicit constructor or adding an empty one.
See Also:
  • Constructor Details

    • BuiltInToolInstantiationException

      public BuiltInToolInstantiationException(String message, Throwable cause)