Exception: Owasp::Esapi::ValidationException
- Inherits:
-
EnterpriseSecurityException
- Object
- Exception
- EnterpriseSecurityException
- Owasp::Esapi::ValidationException
- Defined in:
- lib/exceptions.rb
Overview
ValidatorException used in the rule sets
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Attributes inherited from EnterpriseSecurityException
Instance Method Summary collapse
-
#initialize(user_msg, log_msg, context) ⇒ ValidationException
constructor
A new instance of ValidationException.
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
#context ⇒ Object (readonly)
Returns the value of attribute context.
29 30 31 |
# File 'lib/exceptions.rb', line 29 def context @context end |