Метод |
Описание |
|
@typeof ( ) : Type |
|
|
Err ( ) : System |
|
|
Err ( Val val ) : System |
All subclasses must call this constructor with their typed Val exception which the real .NET exception we use. |
|
Err ( Val val, Exception actual ) : System |
This constructor is used by special subclasses which provide a transparent mapping between .NET and Fantom exception types. |
|
cause ( ) : Err |
|
|
dumpStack ( Exception err ) : void |
Dump a readable stack trace. |
|
dumpStack ( Exception err, OutStream @out ) : void |
Dump a readable stack trace. |
|
dumpStack ( string msg, Exception err, OutStream @out, int indent ) : void |
|
|
dumpStack ( string msg, Exception err, int indent ) : void |
|
|
fanToDotnet ( string ftype ) : string |
This method is used by FCodeEmit to generate extra entries in the exception table - for example if fcode says to trap NullErr, then we also need to trap System.NullReferenceException. Basically this is the inverse of the mapping done in make(Exception). |
|
make ( ) : Err |
|
|
make ( Exception ex ) : Err |
Map a java exception to it's Fantom Err counter part. Common runtime exceptions are mapped into explicit Fantom types. Otherwise we just wrap the exception with a generic Err. |
|
make ( string msg ) : Err |
|
|
make ( string msg, Err cause ) : Err |
|
|
make ( string msg, Exception e ) : Err |
|
|
make_ ( Err self ) : void |
|
|
make_ ( Err self, string msg ) : void |
|
|
make_ ( Err self, string msg, Err cause ) : void |
|
|
msg ( ) : string |
|
|
rebase ( ) : Val |
|
|
toStr ( ) : string |
|
|
trace ( ) : Err |
|
|
trace ( OutStream @out ) : Err |
|
|
trace ( OutStream @out, Map opt ) : Err |
|
|
trace ( OutStream @out, Map opt, int indent, bool useActual ) : Err |
|
|
traceToStr ( ) : string |
|
|