com.gigaspaces.serialization.pbs.commands
Class DotNetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gigaspaces.serialization.pbs.commands.DotNetException
- All Implemented Interfaces:
- Serializable
public class DotNetException
- extends RuntimeException
Encapsulates an exception that happened on the .Net side and is not converted
to a specific Java exception
- Since:
- 6.1
- See Also:
- Serialized Form
DotNetException
public DotNetException(String name,
String message,
String dotNetStackTrace,
DotNetException innerException)
- Constructs a new DotNetException
- Parameters:
name
- .Net exception's namemessage
- .Net exception's messagedotNetStackTrace
- .Net stack traceinnerException
- .Net inner exception
getDotNetStackTrace
public String getDotNetStackTrace()
- Returns:
- String representing the .Net stack trace
getName
public String getName()
- Returns:
- String representing the .Net exception name
toString
public String toString()
- Overrides:
toString
in class Throwable
initCause
public Throwable initCause(Throwable cause)
- Overrides:
initCause
in class Throwable