You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2009/02/02 11:04:59 UTC

[jira] Commented: (AMQ-2092) Throw an error freindly message incase of corrupted connection creation command

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

Gary Tully commented on AMQ-2092:
---------------------------------

just wondering when this occurs, would it make sense to spit out the toString() of the object? Is it something got to do with how TransportConnection is shutdown?

> 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.