mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-23 02:44:10 +00:00
This closes #809
This commit is contained in:
commit
bfbe68f0c9
@ -69,10 +69,10 @@ public final class QueueConfig {
|
||||
|
||||
private void validateState() {
|
||||
if (isEmptyOrNull(this.name)) {
|
||||
throw new IllegalStateException("name can't be null!");
|
||||
throw new IllegalStateException("name can't be null or empty!");
|
||||
}
|
||||
if (isEmptyOrNull(this.address)) {
|
||||
throw new IllegalStateException("address can't be null!");
|
||||
throw new IllegalStateException("address can't be null or empty!");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user