Class ExceptionData
A JSON serializable replacement for {@link Throwable}s. Since i-net PDFC is designed to persist and transmit any part of the result, consider to use this class in events instead of throwing an {@link Exception} directly.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: inetsoftware.Pdfc.Error
Assembly: inetsoftware.Pdfc.dll
Syntax
public class ExceptionData
Constructors
ExceptionData()
Declaration
public ExceptionData()
Properties
GetErrorClass
Returns the full class name of the root cause {@link Throwable}
Declaration
public string GetErrorClass { get; }
Property Value
Type | Description |
---|---|
System.String |
GetErrorCode
Returns the error code or -1 if there original {@link Throwable} had none
Declaration
public int GetErrorCode { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
GetMessage
the message of the root cause, may be
null
e.g. for a {@link NullPointerException}
Declaration
public string GetMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
GetStack
the stack trace of the root cause {@link Throwable}, may be
null
if not provided by the root
cause {@link Throwable}
Declaration
public string GetStack { get; }
Property Value
Type | Description |
---|---|
System.String |