mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-28 22:39:27 +00:00
ARTEMIS-2519: Use proper enum type inside ActiveMQUnexpectedRoutingTypeForAddress
This commit is contained in:
parent
714e31babf
commit
a74036361d
@ -22,10 +22,10 @@ package org.apache.activemq.artemis.api.core;
|
||||
public final class ActiveMQUnexpectedRoutingTypeForAddress extends ActiveMQException {
|
||||
|
||||
public ActiveMQUnexpectedRoutingTypeForAddress() {
|
||||
super(ActiveMQExceptionType.MAX_CONSUMER_LIMIT_EXCEEDED);
|
||||
super(ActiveMQExceptionType.UNEXPECTED_ROUTING_TYPE_FOR_ADDRESS);
|
||||
}
|
||||
|
||||
public ActiveMQUnexpectedRoutingTypeForAddress(String msg) {
|
||||
super(ActiveMQExceptionType.MAX_CONSUMER_LIMIT_EXCEEDED, msg);
|
||||
super(ActiveMQExceptionType.UNEXPECTED_ROUTING_TYPE_FOR_ADDRESS, msg);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user