View source
class InvalidDestinationError
package feathers.messaging.errors
extends ChannelError › MessagingError
This error is thrown when a destination can't be accessed or is not valid. This error is thrown by the following methods/properties within the framework:
ServerConfig.getChannelSet()
if an invalid destination is specified.ServerConfig.getProperties()
if an invalid destination is specified.Channel.send()
if no destination is specified for the message to send.MessageAgent.destination
setter if the destination value is null or zero length.Producer.send()
if no destination is specified for the Producer or message to send.Consumer.subscribe()
if no destination is specified for the Consumer.
Constructor
new(msg:String)
Constructs a new instance of an InvalidDestinationError with the specified message.
Parameters:
msg | String that contains the message that describes this InvalidDestinationError. |
---|