# phpDox - Query\Exception\NonExistentConnectionException

# Query\Exception\NonExistentConnectionException

#### Exception for missing database connection

## Synopsis

class NonExistentConnectionException extends InvalidArgumentException {

- // Inherited methods from InvalidArgumentException
- public final string getMessage()
- public final Throwable getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()

- // Inherited methods from LogicException
- public final string getMessage()
- public final Throwable getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()

- // Inherited methods from Exception
- public void __construct()
- public final string getMessage()
- public final Throwable getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()

}

## Hierarchy

#### Extends

- InvalidArgumentException

## Methods

### Inherited from InvalidArgumentException

#### public

- __toString()
- getCode()
- getFile()
- getLine()
- getMessage()
- getPrevious()
- getTrace()
- getTraceAsString()

### Inherited from LogicException

#### public

- __toString()
- getCode()
- getFile()
- getLine()
- getMessage()
- getPrevious()
- getTrace()
- getTraceAsString()

### Inherited from Exception

#### public

- __toString() — String representation of the exception
- getCode() — Gets the Exception code
- getFile() — Gets the file in which the exception was created
- getLine() — Gets the line in which the exception was created
- getMessage() — Gets the Exception message
- getPrevious() — Returns previous Exception
- getTrace() — Gets the stack trace
- getTraceAsString() — Gets the stack trace as a string