Package system.servicemodel
Class FaultException
- java.lang.Object
-
- java.lang.Throwable
-
- org.mases.jcobridge.netreflection.NetException
-
- system.SystemException
-
- system.servicemodel.CommunicationException
-
- system.servicemodel.FaultException
-
- All Implemented Interfaces:
java.io.Serializable
,IJCOBridgeReflected
public class FaultException extends CommunicationException
The base .NET class managing System.ServiceModel.FaultException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.FaultException
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.ServiceModelstatic java.lang.String
className
Qualified class name: System.ServiceModel.FaultExceptionstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description FaultException()
FaultException(java.lang.Object instance)
Internal constructor.FaultException(java.lang.String message)
FaultException(java.lang.String message, NetException cause)
FaultException(java.lang.String reason, FaultCode code)
FaultException(java.lang.String reason, FaultCode code, java.lang.String action)
FaultException(NetException cause)
FaultException(MessageFault fault)
FaultException(MessageFault fault, java.lang.String action)
FaultException(FaultReason reason)
FaultException(FaultReason reason, FaultCode code)
FaultException(FaultReason reason, FaultCode code, java.lang.String action)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FaultException
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoFaultException
, a cast assert is made to check if types are compatible.static FaultException
CreateFault(MessageFault messageFault, java.lang.String action, NetType... faultDetailTypes)
static FaultException
CreateFault(MessageFault messageFault, NetType... faultDetailTypes)
MessageFault
CreateMessageFault()
java.lang.String
getAction()
FaultCode
getCode()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typevoid
GetObjectData(SerializationInfo info, StreamingContext context)
FaultReason
getReason()
void
setJCOInstance(JCObject instance)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetException
Equals, Equals, GetHashCode, getMessage, getStackTrace, GetType, hashCode, toString, ToString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.ServiceModel- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ServiceModel.FaultException- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FaultException
public FaultException()
-
FaultException
public FaultException(java.lang.Object instance)
Internal constructor. Use with caution
-
FaultException
public FaultException(java.lang.String message)
-
FaultException
public FaultException(NetException cause)
-
FaultException
public FaultException(java.lang.String message, NetException cause)
-
FaultException
public FaultException(MessageFault fault) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
-
FaultException
public FaultException(MessageFault fault, java.lang.String action) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
-
FaultException
public FaultException(FaultReason reason) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, OutOfMemoryException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
OutOfMemoryException
IndexOutOfRangeException
-
FaultException
public FaultException(FaultReason reason, FaultCode code) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, OutOfMemoryException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
OutOfMemoryException
IndexOutOfRangeException
-
FaultException
public FaultException(FaultReason reason, FaultCode code, java.lang.String action) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException, OutOfMemoryException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
OverflowException
OutOfMemoryException
IndexOutOfRangeException
-
FaultException
public FaultException(java.lang.String reason, FaultCode code) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
MissingManifestResourceException
OutOfMemoryException
ArgumentOutOfRangeException
-
FaultException
public FaultException(java.lang.String reason, FaultCode code, java.lang.String action) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentNullException
MissingManifestResourceException
OutOfMemoryException
ArgumentOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classCommunicationException
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classCommunicationException
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classCommunicationException
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classCommunicationException
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classCommunicationException
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classCommunicationException
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static FaultException cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoFaultException
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
FaultException
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
CreateMessageFault
public MessageFault CreateMessageFault() throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
-
CreateFault
public static FaultException CreateFault(MessageFault messageFault, java.lang.String action, NetType... faultDetailTypes) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, KeyNotFoundException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
ArgumentNullException
FormatException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
NotSupportedException
KeyNotFoundException
MissingMethodException
TargetInvocationException
-
CreateFault
public static FaultException CreateFault(MessageFault messageFault, NetType... faultDetailTypes) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, NotSupportedException, MissingMethodException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
NotSupportedException
MissingMethodException
TargetInvocationException
-
GetObjectData
public void GetObjectData(SerializationInfo info, StreamingContext context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, SecurityException, TypeLoadException, NotSupportedException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotImplementedException, SerializationException, OverflowException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
SecurityException
TypeLoadException
NotSupportedException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
OutOfMemoryException
FormatException
NotImplementedException
SerializationException
OverflowException
-
getCode
public FaultCode getCode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReason
public FaultReason getReason() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAction
public java.lang.String getAction() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-