You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2014/07/26 12:03:38 UTC
[jira] [Resolved] (SANDBOX-473) Exception raised during
Transformation
[ https://issues.apache.org/jira/browse/SANDBOX-473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benedikt Ritter resolved SANDBOX-473.
-------------------------------------
Resolution: Fixed
Assignee: Benedikt Ritter
{code}
bene@benedikts-mbp:~/workspace/apache/commons/beanutils2$ svn ci -m "SANDBOX-476: Exception raised during Transformation. Thanks to Yogesh Rao."
Sending src/changes/changes.xml
Adding src/main/java/org/apache/commons/beanutils2/TransformationException.java
Sending src/main/java/org/apache/commons/beanutils2/Transformer.java
Transmitting file data ...
Committed revision 1613592.
{code}
Thanks!
I've removed the declaration of the Exception from the Transformer. RuntimeExceptions should only be documented in the JavaDoc but not added to the method signature (imagine every method would declare NullPointerException in the throws clause...)
> Exception raised during Transformation
> --------------------------------------
>
> Key: SANDBOX-473
> URL: https://issues.apache.org/jira/browse/SANDBOX-473
> Project: Commons Sandbox
> Issue Type: Task
> Components: BeanUtils2
> Affects Versions: Nightly Builds
> Reporter: Yogesh Rao
> Assignee: Benedikt Ritter
> Fix For: Nightly Builds
>
> Attachments: TransformationException.java.txt, Transformer.java.txt
>
>
> The convert method within the Transformer interface does not throw a exception. How about creating an exception which would be thrown by the convert method when encountered with an issue?
--
This message was sent by Atlassian JIRA
(v6.2#6252)