# Class: Exception

## bemap.Exception()

Base class for Exception.

## Constructor

#### new Exception()

##### Parameters:

Name | Type | Description
--- | --- | ---
`message.` | String |
`cause.` | bemap.Exception |

Source:
  - bemap.js, line 193

### Methods

#### getCause() → {bemap.Exception}

Return the cause of exception.

Source:
  - bemap.js, line 210

##### Returns:

Return the cause of exception.

Type
  bemap.Exception

#### getMessage() → {String}

Return the message of exception.

Source:
  - bemap.js, line 202

##### Returns:

Return the message of exception.

Type
  String

#### getStack() → {String}

Return stack of exceptions.

Source:
  - bemap.js, line 218

##### Returns:

Return stack of exceptions.

Type
  String

#### printStack() → {String}

Print stack of exceptions.

Source:
  - bemap.js, line 236

##### Returns:

Print stack of exceptions.

Type
  String