You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/11/19 21:19:58 UTC

[jira] [Commented] (QPID-7532) [Java] Replace AMQConstant class with constant integer error codes

    [ https://issues.apache.org/jira/browse/QPID-7532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15679873#comment-15679873 ] 

ASF subversion and git services commented on QPID-7532:
-------------------------------------------------------

Commit 1770514 from [~godfrer] in branch 'java/trunk'
[ https://svn.apache.org/r1770514 ]

QPID-7532 : Remove the AMQConstant class

> [Java] Replace AMQConstant class with constant integer error codes
> ------------------------------------------------------------------
>
>                 Key: QPID-7532
>                 URL: https://issues.apache.org/jira/browse/QPID-7532
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker, Java Client, Java Common
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>
> The AMQConstant class is weird and permeates through the equally weird AMQException hierarchy.  Essentially the class in 95% about defining the common error codes (404 means Not Found, etc).  The AMQConstant class is used broker wide, but does not actually fit to the AMQP 0-10 or 1.0 models.
> In AMQP 0-8 we should use the integer error codes, in common code we should use protocol independent enumerations to define possible error conditions



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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