public class InvocationException extends Exception
| Constructor and Description |
|---|
InvocationException(String cause)
Constructs an invocation exception with the supplied cause code string.
|
InvocationException(String bundle,
String code)
Constructs an invocation exception with the supplied cause code
string and qualifying message bundle.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
require(boolean condition,
String errmsg)
Requires that the supplied condition be true, otherwise an invocation exception with the
supplied error message is thrown.
|
static void |
requireAccess(ClientObject clobj,
Permission perm)
A version of
requireAccess(ClientObject,Permission,Object) that takes no context. |
static void |
requireAccess(ClientObject clobj,
Permission perm,
Object context)
Requires that the specified client have the specified permissions.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvocationException(String cause)
public static void requireAccess(ClientObject clobj, Permission perm, Object context) throws InvocationException
InvocationException - if they do not.public static void requireAccess(ClientObject clobj, Permission perm) throws InvocationException
requireAccess(ClientObject,Permission,Object) that takes no context.InvocationExceptionpublic static void require(boolean condition,
String errmsg)
throws InvocationException
InvocationExceptionCopyright © 2015. All rights reserved.