# Class: com.pnfsoftware.jeb.core.units.UnitLockedException

A concurrency error raised when a thread is attempting to access a [unit](IUnit) that is locked by another thread.

## Constructor: UnitLockedException

Description: Create a unit locked exception.

## Constructor: UnitLockedException
- parameter: `message`, type: `java.lang.String`

Description: Create a unit locked exception.
parameter: message: error message

## Constructor: UnitLockedException
- parameter: `cause`, type: `java.lang.Throwable`

Description: Create a unit locked exception.
parameter: cause: cause

## Constructor: UnitLockedException
- parameter: `message`, type: `java.lang.String`
- parameter: `cause`, type: `java.lang.Throwable`

Description: Create a unit locked exception.
parameter: message: error message
parameter: cause: cause

