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…
Reference in New Issue