# Class ConvertException

An exception thrown when conversion from a CSS selector to an XPath query failed (ie the selector was successfully parsed, but conversion to it's XPath equivalent failed).

  Exception implements Throwable
  WPGMZA\Selector\ConvertException

Namespace: WPGMZA\Selector
Located at class.selector-to-xpath.php

Methods summary
`public` | # `__construct( string $message, integer $code = 0, WPGMZA\Selector\Exception $previous = null )` Constructor. Constructor. #### Parameters $message The error message $code Unused, the error code $previous The previous exception, used for exception chaining #### Overrides `Exception::__construct()`

Methods inherited from Exception
`__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()`

Properties inherited from Exception
`$code, $file, $line, $message`