Sha256: 3941fec7c8bef4088e6998623e9610918e3669c1502069dd42a655926825eaba

Contents?: true

Size: 785 Bytes

Versions: 1

Compression:

Stored size: 785 Bytes

Contents

#
# -----------------------------------------------------------------------
#  Copyright © 2012 ShepHertz Technologies Pvt Ltd. All rights reserved.
# -----------------------------------------------------------------------

require 'App42Exception.rb'

class App42BadParameterException < App42Exception

  attr_accessor :http_error_code, :app_error_code, :detailMessage
  def initialize(*args)
    if args.size == 1
      super(args[0])
      self::initialize1(args[0])
    elsif args.size == 3
      super(args[0])
      self::initialize3(args[0], args[1], args[2])
    end

  end

  def initialize1(detailMessage)
    #  super(detailMessage)
  end

  def initialize3(detailMessage, http_error_code, app_error_code)
    super(detailMessage,http_error_code,app_error_code)

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
App42_RUBY_SDK-0.8.3 lib/App42BadParameterException.rb