Annotation Type CSharpReplaceException


  • @Retention(SOURCE)
    @Target({METHOD,CONSTRUCTOR})
    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
      String from  
      String to