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