<commit_before><?php
namespace Exar\Annotation\Interceptor;

/**
 * Exception-Klasse zum Abbrechen von Interceptor-Ausf�hrungen.<br/>
 * Z.B. muss bei der <code>Secured</code>-Annotation die Ausf�hrung der gesch�tzten Action
 * abgebrochen werden, falls die Berechtigung seitens Nutzer fehlt. So wird diese Exception geworfen.
 * Sie bewirkt ausschlie�lich den Ausgang aus der Action und sollte nicht woanders verwendet werden.
 *
 * @author vwidiker
 */
use Exar\Exception;

class InterceptorException extends Exception {
	private $object;
	private $result;

	/**
	 * Constructor.
	 * 
	 * @param string $message Exception message
	 * @param object $obj Object in which exception was thrown
	 * @param mixed $result Result to set
	 */
	public function __construct($message, $obj, $result = null) {
		parent::__construct($message);
		$this->object = $obj;
		$this->result = $result;
	}
	
	public function getObject() {
		return $this->object;
	}

	public function getResult() {
		return $this->result;
	}
}<commit_msg>Class comment translated<commit_after><?php
namespace Exar\Annotation\Interceptor;

/**
 * Exception class for interruptions of interceptor executions.<br/>
 * It is used to immediately stop interceptor actions and should only be used by generated code.
 */
use Exar\Exception;

class InterceptorException extends Exception {
	private $object;
	private $result;

	/**
	 * Constructor.
	 * 
	 * @param string $message Exception message
	 * @param object $obj Object in which exception was thrown
	 * @param mixed $result Result to set
	 */
	public function __construct($message, $obj, $result = null) {
		parent::__construct($message);
		$this->object = $obj;
		$this->result = $result;
	}
	
	public function getObject() {
		return $this->object;
	}

	public function getResult() {
		return $this->result;
	}
}
{'fraction_non_alphanumeric': 0.10946907498631636, 'fraction_numerical': 0.0, 'mean_word_length': 4.222857142857142, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1441514', 'n_tokens_mistral': 565, 'n_tokens_neox': 535, 'n_words': 179}