Exibir arquivo
Open project: Tirasa/ConnId
Class Usage Examples
Public Methods
Method
Description
Is ( Type expected ) : bool
Checks if the exception is the expected class.
ReadStackTrace ( ) : string
RemoteWrappedException ( string throwableClass, string message, RemoteWrappedException cause, string stackTrace ) : System
Wrap ( Exception ex ) : RemoteWrappedException
Wraps the Throwable into a RemoteWrappedException instance.
convert ( Exception throwable ) : object>.Dictionary
Converts the throwable object to a new Map object that representing itself.
Private Methods
Method
Description
RemoteWrappedException ( object>.IDictionary exception ) : System
buildCause ( Exception throwable ) : object>.IDictionary
Method Details
public Is ( Type expected ) : bool
expected
System.Type
/// the expected throwable class.
return
bool
public RemoteWrappedException ( string throwableClass, string message, RemoteWrappedException cause, string stackTrace ) : System
throwableClass
string
message
string
cause
RemoteWrappedException
stackTrace
string
return
System
public static Wrap ( Exception ex ) : RemoteWrappedException
ex
System.Exception
/// Exception to wrap or cast and return.
return
RemoteWrappedException
public static convert ( Exception throwable ) : object>.Dictionary
throwable
System.Exception
/// the {@code Throwable} to be converted
return
object>.Dictionary