Sha256: 15cb5a72dfe4daa48a51f5e748f7ea6b78118c7c881d3fd55aef65656ead0df2

Contents?: true

Size: 797 Bytes

Versions: 1

Compression:

Stored size: 797 Bytes

Contents

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

require 'App42_Ruby_API/App42Exception'

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_API-0.8.4 lib/App42_Ruby_API/App42BadParameterException.rb