Exception: Owasp::Esapi::ValidationException

Inherits:
EnterpriseSecurityException show all
Defined in:
lib/exceptions.rb

Overview

ValidatorException used in the rule sets

Instance Attribute Summary collapse

Attributes inherited from EnterpriseSecurityException

#log_message

Instance Method Summary collapse

Constructor Details

#initialize(user_msg, log_msg, context) ⇒ ValidationException

Returns a new instance of ValidationException.



30
31
32
33
# File 'lib/exceptions.rb', line 30

def initialize(user_msg,log_msg,context)
  super(user_msg,log_msg)
  @context = context
end

Instance Attribute Details

#contextObject (readonly)

Returns the value of attribute context.



29
30
31
# File 'lib/exceptions.rb', line 29

def context
  @context
end