Sha256: 4cc64e27ba257a26579d3900e3208de3fc4d97a7198ef4c849e7372531c589bd

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

# @(#) MQMBID sn=mqkoa-L141209.14 su=DD5D1CE8-FDCF-45C3-8C7F-B5A3BCA27545 pn=appmsging/ruby/mqlight/lib/mqlight/exceptions.rb
#
# <copyright
# notice="lm-source-program"
# pids="5725-P60"
# years="2013,2014"
# crc="3568777996" >
# Licensed Materials - Property of IBM
#
# 5725-P60
#
# (C) Copyright IBM Corp. 2014
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with
# IBM Corp.
# </copyright>

module Mqlight
  # The operation failed because of a network error
  class NetworkError < StandardError
  end

  # The operation failed due to a security related problem
  class SecurityError < StandardError
  end

  # The operation failed because the client transitioned into stopped state
  class StoppedError < StandardError
  end

  # This exception is thrown if an operation times out
  class TimeoutError < StandardError
  end

  # Thrown if the client is already subscribed to a destination.
  class SubscribedError < StandardError
  end

  # Thrown if an operation requires the client to be subscribed to a destination
  # but the client is not currently subscribed to the destination.
  class UnsubscribedError < StandardError
  end

  # The operation failed because the client doesn't yet support the options
  # that were passed to the method
  class UnsupportedError < StandardError
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mqlight-1.0.2014120914.beta-x86_64-darwin-13 lib/mqlight/exceptions.rb