corda / net.corda.client.rpc / PermissionException

PermissionException

class PermissionException : CordaRuntimeException, RpcSerializableError, ClientRelevantError

Thrown to indicate that the calling user does not have permission for something they have requested (for example calling a method).

Constructors

<init>

PermissionException(message: String)

Thrown to indicate that the calling user does not have permission for something they have requested (for example calling a method).

Inherited Properties

cause

open val cause: Throwable?

message

open val message: String?

originalExceptionClassName

open var originalExceptionClassName: String?

originalMessage

open val originalMessage: String?

Inherited Functions

addSuppressed

open fun addSuppressed(suppressed: Array<Throwable>): Unit

equals

open fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

setCause

open fun setCause(cause: Throwable?): Unit

setMessage

open fun setMessage(message: String?): Unit

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.