corda / net.corda.client.rpc / PermissionException

PermissionException

class PermissionException : CordaRuntimeException, 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(msg: String)

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

Properties

msg

val msg: String

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(): <ERROR CLASS>

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