Exception: Owasp::Esapi::EnterpriseSecurityException
- Inherits:
-
Exception
- Object
- Exception
- Owasp::Esapi::EnterpriseSecurityException
- Defined in:
- lib/exceptions.rb
Overview
Base Exception class for SecurityExceptions
Direct Known Subclasses
Instance Attribute Summary collapse
-
#log_message ⇒ Object
readonly
Returns the value of attribute log_message.
Instance Method Summary collapse
-
#initialize(user_msg, log_msg) ⇒ EnterpriseSecurityException
constructor
A new instance of EnterpriseSecurityException.
Constructor Details
#initialize(user_msg, log_msg) ⇒ EnterpriseSecurityException
Returns a new instance of EnterpriseSecurityException.
8 9 10 11 |
# File 'lib/exceptions.rb', line 8 def initialize(user_msg, log_msg) super(user_msg) @log_message = log_msg end |
Instance Attribute Details
#log_message ⇒ Object (readonly)
Returns the value of attribute log_message.
7 8 9 |
# File 'lib/exceptions.rb', line 7 def @log_message end |