original_string: public function encodeException(\Exception $exception)
  	{
  		$string = $this->encoder->encodeException($exception);
  
  		try {
  			return $this->encrypt($string);
  		}
  		catch (\Exception $e) {
  			if ($this->plainExceptions) {
  				return $string;
  			}
  			throw $e;
  		}
  	}
code: public function encodeException(\Exception $exception)
  	{
  		$string = $this->encoder->encodeException($exception);
  
  		try {
  			return $this->encrypt($string);
  		}
  		catch (\Exception $e) {
  			if ($this->plainExceptions) {
  				return $string;
  			}
  			throw $e;
  		}
  	}
code_tokens: public function encodeException ( \ Exception $ exception ) { $ string = $ this -> encoder -> encodeException ( $ exception ) ; try { return $ this -> encrypt ( $ string ) ; } catch ( \ Exception $ e ) { if ( $ this -> plainExceptions ) { return $ string ; } throw $ e ; } }
docstring: Encode an exception.
  
  @param \Exception $exception
  
  @return string
docstring_tokens: Encode an exception .