简体   繁体   English

什么时候以及为什么发生未实现(java.lang.reflect.InvocationTargetException)?

[英]When and why does Not implemented (java.lang.reflect.InvocationTargetException) occur?

While opening a JFD file in Eclipse, I am got 'Not implemented (java.lang.reflect.InvocationTargetException)'. 在Eclipse中打开JFD文件时,出现“未实现(java.lang.reflect.InvocationTargetException)”。 Can you tell me when and why does it occur? 您能告诉我何时,为什么发生吗?

It means that a method you are calling throws that exception, and you are not doing anything about it. 这意味着您正在调用的方法将引发该异常,并且您对此不做任何事情。 You either need to put the method call in a try/catch block, or you need to re-throw the exception for someone else to handle. 您或者需要将方法调用放在try / catch块中,或者需要重新引发异常以供其他人处理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么显示“ java.lang.reflect.InvocationTargetException” - Why “java.lang.reflect.InvocationTargetException” showing java.lang.reflect.InvocationTargetException - java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException? - java.lang.reflect.InvocationTargetException? 部署Applet时java.lang.reflect.invocationtargetexception错误 - java.lang.reflect.invocationtargetexception Error when Deploying Applet 安装扩展时的 libreoffice java.lang.reflect.InvocationTargetException - libreoffice java.lang.reflect.InvocationTargetException when installing an extension 从FXML调用方法时出现java.lang.reflect.InvocationTargetException - java.lang.reflect.InvocationTargetException when calling method from FXML 启动教科书文件时的JavaFX java.lang.reflect.InvocationTargetException - JavaFX java.lang.reflect.InvocationTargetException when launching textbook file 使用循环时java.lang.reflect.InvocationTargetException - java.lang.reflect.InvocationTargetException when using loops Java中的java.lang.reflect.InvocationTargetException - java.lang.reflect.InvocationTargetException in Java 播放框架:[RuntimeException:java.lang.reflect.InvocationTargetException] - Playframework: [RuntimeException: java.lang.reflect.InvocationTargetException]
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM