alef 0.110.5

Opinionated polyglot binding generator for Rust libraries
Documentation
// DO NOT EDIT - auto-generated by alef
package {{ package }};

{% if doc %}
/**
{% for line in doc_lines %}
 * {{ line }}
{% endfor %}
 */
{% else %}
/** Exception for {{ class_name }}. */
{% endif %}
public class {{ class_name }} extends {{ base_name }} {
  private static final long serialVersionUID = 1L;

  /** Creates a new {{ class_name }} with the given message. */
  public {{ class_name }}(final String message) {
    super(message);
  }

  /** Creates a new {{ class_name }} with the given message and cause. */
  public {{ class_name }}(final String message, final Throwable cause) {
    super(message, cause);
  }
{% if has_methods %}

  /** Creates a new {{ class_name }} with the given message and the native error's introspection values. */
  public {{ class_name }}(final String message{% for m in methods %}, final {{ m.java_type }} {{ m.field_name }}{% endfor %}) {
    super(message{% for m in methods %}, {{ m.field_name }}{% endfor %});
  }
{% endif %}
}