Afficher le fichier
Open project: Tirasa/ConnId
Class Usage Examples
Méthodes publiques
Méthode
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
Méthode
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.
Résultat
bool
public RemoteWrappedException ( string throwableClass, string message, RemoteWrappedException cause, string stackTrace ) : System
throwableClass
string
message
string
cause
RemoteWrappedException
stackTrace
string
Résultat
System
public static Wrap ( Exception ex ) : RemoteWrappedException
ex
System.Exception
/// Exception to wrap or cast and return.
Résultat
RemoteWrappedException
public static convert ( Exception throwable ) : object>.Dictionary
throwable
System.Exception
/// the {@code Throwable} to be converted
Résultat
object>.Dictionary