public class SecurityException extends SystemException
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.SecurityException
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Security.SecurityException
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SecurityException() |
SecurityException(NetException cause) |
SecurityException(java.lang.Object instance)
Internal constructor.
|
SecurityException(java.lang.String message) |
SecurityException(java.lang.String message,
NetException cause) |
SecurityException(java.lang.String message,
NetType type)
Initializes a new instance by invoking the .NET constructor.
|
SecurityException(java.lang.String message,
NetType type,
java.lang.String state)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SecurityException |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SecurityException, a cast assert is made to check if types are compatible. |
NetObject |
getDemanded()
Gets the value of the .NET property Demanded.
|
NetObject |
getDenySetInstance()
Gets the value of the .NET property DenySetInstance.
|
AssemblyName |
getFailedAssemblyInfo()
Gets the value of the .NET property FailedAssemblyInfo.
|
java.lang.String |
getGrantedSet()
Gets the value of the .NET property GrantedSet.
|
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
MethodInfo |
getMethod()
Gets the value of the .NET property Method.
|
void |
GetObjectData(SerializationInfo info,
StreamingContext context)
Invokes the .NET member GetObjectData.
|
java.lang.String |
getPermissionState()
Gets the value of the .NET property PermissionState.
|
NetType |
getPermissionType()
Gets the value of the .NET property PermissionType.
|
NetObject |
getPermitOnlySetInstance()
Gets the value of the .NET property PermitOnlySetInstance.
|
java.lang.String |
getRefusedSet()
Gets the value of the .NET property RefusedSet.
|
java.lang.String |
getUrl()
Gets the value of the .NET property Url.
|
void |
setDemanded(NetObject Demanded)
Sets the value of the .NET property Demanded.
|
void |
setDenySetInstance(NetObject DenySetInstance)
Sets the value of the .NET property DenySetInstance.
|
void |
setFailedAssemblyInfo(AssemblyName FailedAssemblyInfo)
Sets the value of the .NET property FailedAssemblyInfo.
|
void |
setGrantedSet(java.lang.String GrantedSet)
Sets the value of the .NET property GrantedSet.
|
void |
setJCOInstance(JCObject instance) |
void |
setMethod(MethodInfo Method)
Sets the value of the .NET property Method.
|
void |
setPermissionState(java.lang.String PermissionState)
Sets the value of the .NET property PermissionState.
|
void |
setPermissionType(NetType PermissionType)
Sets the value of the .NET property PermissionType.
|
void |
setPermitOnlySetInstance(NetObject PermitOnlySetInstance)
Sets the value of the .NET property PermitOnlySetInstance.
|
void |
setRefusedSet(java.lang.String RefusedSet)
Sets the value of the .NET property RefusedSet.
|
void |
setUrl(java.lang.String Url)
Sets the value of the .NET property Url.
|
Equals, Equals, GetHashCode, getMessage, getStackTrace, GetType, hashCode, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SecurityException()
public SecurityException(NetException cause)
public SecurityException(java.lang.Object instance)
instance - the underlying bridge object: it must be a JCObjectpublic SecurityException(java.lang.String message)
public SecurityException(java.lang.String message,
NetException cause)
public SecurityException(java.lang.String message,
NetType type)
throws java.lang.Throwable
message - the argument of type java.lang.Stringtype - the argument of type NetTypejava.lang.Throwable - if the .NET constructor failspublic SecurityException(java.lang.String message,
NetType type,
java.lang.String state)
throws java.lang.Throwable
message - the argument of type java.lang.Stringtype - the argument of type NetTypestate - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failspublic static SecurityException cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SecurityException, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSecurityException instancejava.lang.Throwable - in case of error during cast operationpublic NetObject getDemanded() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getDenySetInstance() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic AssemblyName getFailedAssemblyInfo() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getGrantedSet()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class SystemExceptionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class SystemExceptionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class SystemExceptionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class SystemExceptionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class SystemExceptionJCType representing the CLR Type of the instantiated Classpublic MethodInfo getMethod() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, SerializationException, FormatException
info - the argument of type SerializationInfocontext - the argument of type StreamingContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itFormatException - if the .NET member raises itpublic java.lang.String getPermissionState()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetType getPermissionType() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getPermitOnlySetInstance() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getRefusedSet()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getUrl()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDemanded(NetObject Demanded) throws java.lang.Throwable
Demanded - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDenySetInstance(NetObject DenySetInstance) throws java.lang.Throwable
DenySetInstance - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFailedAssemblyInfo(AssemblyName FailedAssemblyInfo) throws java.lang.Throwable
FailedAssemblyInfo - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setGrantedSet(java.lang.String GrantedSet)
throws java.lang.Throwable
GrantedSet - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
setJCOInstance in class SystemExceptionpublic void setMethod(MethodInfo Method) throws java.lang.Throwable
Method - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPermissionState(java.lang.String PermissionState)
throws java.lang.Throwable
PermissionState - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPermissionType(NetType PermissionType) throws java.lang.Throwable
PermissionType - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setPermitOnlySetInstance(NetObject PermitOnlySetInstance) throws java.lang.Throwable
PermitOnlySetInstance - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setRefusedSet(java.lang.String RefusedSet)
throws java.lang.Throwable
RefusedSet - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUrl(java.lang.String Url)
throws java.lang.Throwable
Url - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR