private void checkTopic(Topic topic) throws InvalidDestinationException { if (topic == null) { throw ActiveMQJMSClientBundle.BUNDLE.nullTopic(); } }
/** * Check if the destination is sent correctly */ private void checkDestination(Destination destination) throws InvalidDestinationException { if (destination != null && !(destination instanceof ActiveMQDestination)) { throw new InvalidDestinationException("Foreign destination:" + destination); } if (destination != null && defaultDestination != null) { throw new UnsupportedOperationException("Cannot specify destination if producer has a default destination"); } if (destination == null) { throw ActiveMQJMSClientBundle.BUNDLE.nullTopic(); } }
private void checkTopic(Topic topic) throws InvalidDestinationException { if (topic == null) { throw ActiveMQJMSClientBundle.BUNDLE.nullTopic(); } }
private void checkTopic(Topic topic) throws InvalidDestinationException { if (topic == null) { throw ActiveMQJMSClientBundle.BUNDLE.nullTopic(); } }
private void checkTopic(Topic topic) throws InvalidDestinationException { if (topic == null) { throw ActiveMQJMSClientBundle.BUNDLE.nullTopic(); } }
private void checkTopic(Topic topic) throws InvalidDestinationException { if (topic == null) { throw ActiveMQJMSClientBundle.BUNDLE.nullTopic(); } }
/** * Check if the destination is sent correctly */ private void checkDestination(Destination destination) throws InvalidDestinationException { if (destination != null && !(destination instanceof ActiveMQDestination)) { throw new InvalidDestinationException("Foreign destination:" + destination); } if (destination != null && defaultDestination != null) { throw new UnsupportedOperationException("Cannot specify destination if producer has a default destination"); } if (destination == null) { throw ActiveMQJMSClientBundle.BUNDLE.nullTopic(); } }
/** * Check if the destination is sent correctly */ private void checkDestination(Destination destination) throws InvalidDestinationException { if (destination != null && !(destination instanceof ActiveMQDestination)) { throw new InvalidDestinationException("Foreign destination:" + destination); } if (destination != null && defaultDestination != null) { throw new UnsupportedOperationException("Cannot specify destination if producer has a default destination"); } if (destination == null) { throw ActiveMQJMSClientBundle.BUNDLE.nullTopic(); } }
/** * Check if the destination is sent correctly */ private void checkDestination(Destination destination) throws InvalidDestinationException { if (destination != null && !(destination instanceof ActiveMQDestination)) { throw new InvalidDestinationException("Foreign destination:" + destination); } if (destination != null && defaultDestination != null) { throw new UnsupportedOperationException("Cannot specify destination if producer has a default destination"); } if (destination == null) { throw ActiveMQJMSClientBundle.BUNDLE.nullTopic(); } }
/** * Check if the destination is sent correctly */ private void checkDestination(Destination destination) throws InvalidDestinationException { if (destination != null && !(destination instanceof ActiveMQDestination)) { throw new InvalidDestinationException("Foreign destination:" + destination); } if (destination != null && defaultDestination != null) { throw new UnsupportedOperationException("Cannot specify destination if producer has a default destination"); } if (destination == null) { throw ActiveMQJMSClientBundle.BUNDLE.nullTopic(); } }