# depicter/1.3.3/app/src/Exception/EntityException.php

Depicter — Popup &amp; Slider Builder, version 1.3.3. 26 lines.

- Page: https://pluginprobe.com/plugins/depicter/1.3.3/code/app/src/Exception/EntityException.php
- Raw: https://pluginprobe.com/plugins/depicter/1.3.3/raw/app/src/Exception/EntityException.php
- Modified: 2022-06-01T06:26:20+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/depicter/1.3.3/code/app/src/Exception/EntityException.php#L10-L20`.

```php
<?php
namespace Depicter\Exception;


class EntityException extends \Exception
{
	private $where;

	public function __construct( $message = "", $code = 0, $where = [] )
	{
		parent::__construct( $message, $code, null );
		$this->where = $where;
	}

	public function getStatus(){
		return $this->getWhereCondition( 'status' );
	}

	public function getWhereCondition( $whereCondition ){
		if ( isset( $this->where[ $whereCondition ] ) ) {
			return $this->where[ $whereCondition ];
		}
		return null;
	}
}

```
