activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (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 10:04:59 GMT

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


Mime
View raw message