activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2092) Throw an error freindly message incase of corrupted connection creation command
Date Mon, 02 Feb 2009 12:22:59 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49086#action_49086
] 

Dejan Bosanac commented on AMQ-2092:
------------------------------------

Added o.toString() for better clarity of the error. Thanks

> Throw an error freindly message incase of corrupted connection creation command
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-2092
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2092
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.2.0
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>            Priority: Minor
>             Fix For: 5.3.0
>
>
> Instead of class cast exception like
> Could not accept connection : java.lang.Object cannot be cast to org.apache.activemq.command.Command
> throw more user friendly exception
> Could not accept connection : Protocol violation - Command corrupted

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message