Sha256: 9d3989263a819db1b02c6bee935bae6be5d428f635db785292d7b5ecc65ec6ea
Contents?: true
Size: 945 Bytes
Versions: 1
Compression:
Stored size: 945 Bytes
Contents
# Various exception used by Esapi module Owasp module Esapi # Base Exception class for SecurityExceptions class EnterpriseSecurityException < Exception attr :log_message def initialize(user_msg, log_msg) super(user_msg) @log_message = log_msg end end # Exception throw if there is an error during Executor processing class ExecutorException < EnterpriseSecurityException end # Intrustion detection exception to be logged class IntrustionException < Exception attr :log_message def initialize(user_message,log_message) super(user_message) @log_message = log_message end end # ValidatorException used in the rule sets class ValidationException < EnterpriseSecurityException attr :context def initialize(user_msg,log_msg,context) super(user_msg,log_msg) @context = context end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
owasp-esapi-ruby-0.30.0 | lib/exceptions.rb |