# jetformbuilder/3.6.6/includes/blocks/conditional-block/render-states/render-state-replace-exception.php

JetFormBuilder — Dynamic Blocks Form Builder, version 3.6.6. 29 lines.

- Page: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/code/includes/blocks/conditional-block/render-states/render-state-replace-exception.php
- Raw: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/raw/includes/blocks/conditional-block/render-states/render-state-replace-exception.php
- Modified: 2023-11-20T11:46:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetformbuilder/3.6.6/code/includes/blocks/conditional-block/render-states/render-state-replace-exception.php#L10-L20`.

```php
<?php


namespace Jet_Form_Builder\Blocks\Conditional_Block\Render_States;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

class Render_State_Replace_Exception extends \Exception {

	protected $replace_with;

	public function with( Base_Render_State $state ): Render_State_Replace_Exception {
		$this->replace_with = $state;

		return $this;
	}

	/**
	 * @return Base_Render_State|null
	 */
	public function get_state() {
		return $this->replace_with;
	}

}

```
