Class: InvalidRoleException

Inherits:
Object
  • Object
show all
Defined in:
lib/crowd/default.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cause = nil, messages = nil, throwableCount = nil, throwables = nil) ⇒ InvalidRoleException

Returns a new instance of InvalidRoleException.



254
255
256
257
258
259
# File 'lib/crowd/default.rb', line 254

def initialize(cause = nil, messages = nil, throwableCount = nil, throwables = nil)
  @cause = cause
  @messages = messages
  @throwableCount = throwableCount
  @throwables = throwables
end

Instance Attribute Details

#causeObject

Returns the value of attribute cause.



249
250
251
# File 'lib/crowd/default.rb', line 249

def cause
  @cause
end

#messagesObject

Returns the value of attribute messages.



250
251
252
# File 'lib/crowd/default.rb', line 250

def messages
  @messages
end

#throwableCountObject

Returns the value of attribute throwableCount.



251
252
253
# File 'lib/crowd/default.rb', line 251

def throwableCount
  @throwableCount
end

#throwablesObject

Returns the value of attribute throwables.



252
253
254
# File 'lib/crowd/default.rb', line 252

def throwables
  @throwables
end