commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18835] New: - BeanComparator compare method throws ClassCastException regardless of underlying exception
Date Tue, 08 Apr 2003 23:23:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18835>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18835

BeanComparator compare method throws ClassCastException regardless of underlying exception

           Summary: BeanComparator compare method throws ClassCastException
                    regardless of underlying exception
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Bean Utilities
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: tobrien@discursive.com


Here's the code from the end of the compare method:

        catch ( Exception e ) {
            throw new ClassCastException( e.toString() );
        }

Regardless of the underlying exception, this will throw a ClassCastException 
with the message of the exception thrown.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message