C# Class RethrowExceptions.Program

Exibir arquivo Open project: ProfessionalCSharp/ProfessionalCSharp6

Public Methods

Method Description
Filter ( Exception ex ) : bool
HandleAll ( ) : void
HandleAndRethrow ( ) : void
HandleAndThrowAgain ( ) : void
HandleAndThrowWithInnerException ( ) : void
HandleWithFilter ( ) : void
ThrowAnException ( string message ) : void

Private Methods

Method Description
Main ( ) : void

Method Details

Filter() public static method

public static Filter ( Exception ex ) : bool
ex System.Exception
return bool

HandleAll() public static method

public static HandleAll ( ) : void
return void

HandleAndRethrow() public static method

public static HandleAndRethrow ( ) : void
return void

HandleAndThrowAgain() public static method

public static HandleAndThrowAgain ( ) : void
return void

HandleAndThrowWithInnerException() public static method

public static HandleAndThrowWithInnerException ( ) : void
return void

HandleWithFilter() public static method

public static HandleWithFilter ( ) : void
return void

ThrowAnException() public static method

public static ThrowAnException ( string message ) : void
message string
return void