Class: AccessException

composer-runtime. AccessException

Class representing an access exception


new AccessException(resource, access, participant)

Constructor.

Parameters:
Name Type Description
resource Resource

The resource.

access string

The level of access.

participant Resource

The participant.

Source:
See:

Extends

  • BaseException

Methods


<static> generateMessage(resource, access, participant)

Generate the exception message.

Parameters:
Name Type Description
resource Resource

The resource.

access string

The level of access.

participant Resource

The participant.

Source:
Returns:

The exception message.

Type
string