Annotation Type CSharpReplaceException

  • @Retention(SOURCE)
    public @interface CSharpReplaceException
    Annotation used by the Java-to-C# transpiler: it causes any exception named in a catch clause within a Java method to be replaced by a different exception in the generated C#
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String from  
      java.lang.String to  
    • Element Detail

      • from

        java.lang.String from
      • to

        java.lang.String to