Exception: AWS::S3::ExceptionClassClash

Inherits:
S3Exception
  • Object
show all
Defined in:
lib/aws/s3/exceptions.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(klass) ⇒ ExceptionClassClash

Returns a new instance of ExceptionClassClash.



122
123
124
125
# File 'lib/aws/s3/exceptions.rb', line 122

def initialize(klass)
  message = "The exception class you tried to create (`#{klass}') exists and is not an exception"
  super(message)
end