C# Class withSIX.Mini.Applications.GameExceptionHandler

Inheritance: BasicExternalExceptionhandler
Exibir arquivo Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
HandleException ( Exception ex, string action = "Action" ) : UserErrorModel

Protected Methods

Method Description
Handle ( NoSourceFoundException ex, string action ) : InformationalUserError
Handle ( NotFoundException ex, string action ) : InformationalUserError
Handle ( RequestedResourceNotFoundException ex, string action ) : InformationalUserError
Handle ( SynqPathException ex, string action ) : InformationalUserError
Handle ( AlreadyLockedException ex, string action ) : RecoverableUserError
Handle ( GameIsRunningException ex, string action ) : RecoverableUserError
Handle ( GameNotInstalledException ex, string action ) : RecoverableUserError
Handle ( HostListExhausted ex, string action ) : RecoverableUserError
Handle ( NotDetectedAsSteamGame ex, string action ) : RecoverableUserError
Handle ( QueueProcessingError ex, string action ) : RecoverableUserError
Handle ( SetupException ex, string action ) : RecoverableUserError
Handle ( SteamInitializationException ex, string action ) : RecoverableUserError
Handle ( SteamNotFoundException ex, string action ) : RecoverableUserError

Method Details

Handle() protected static method

protected static Handle ( NoSourceFoundException ex, string action ) : InformationalUserError
ex withSIX.Sync.Core.Packages.NoSourceFoundException
action string
return withSIX.Core.Applications.Errors.InformationalUserError

Handle() protected static method

protected static Handle ( NotFoundException ex, string action ) : InformationalUserError
ex NotFoundException
action string
return withSIX.Core.Applications.Errors.InformationalUserError

Handle() protected static method

protected static Handle ( RequestedResourceNotFoundException ex, string action ) : InformationalUserError
ex withSIX.Mini.Applications.Services.Infra.RequestedResourceNotFoundException
action string
return withSIX.Core.Applications.Errors.InformationalUserError

Handle() protected static method

protected static Handle ( SynqPathException ex, string action ) : InformationalUserError
ex withSIX.Sync.Core.Repositories.SynqPathException
action string
return withSIX.Core.Applications.Errors.InformationalUserError

Handle() protected static method

protected static Handle ( AlreadyLockedException ex, string action ) : RecoverableUserError
ex AlreadyLockedException
action string
return withSIX.Core.Applications.Errors.RecoverableUserError

Handle() protected static method

protected static Handle ( GameIsRunningException ex, string action ) : RecoverableUserError
ex GameIsRunningException
action string
return withSIX.Core.Applications.Errors.RecoverableUserError

Handle() protected static method

protected static Handle ( GameNotInstalledException ex, string action ) : RecoverableUserError
ex GameNotInstalledException
action string
return withSIX.Core.Applications.Errors.RecoverableUserError

Handle() protected static method

protected static Handle ( HostListExhausted ex, string action ) : RecoverableUserError
ex withSIX.Sync.Core.Transfer.MirrorSelectors.HostListExhausted
action string
return withSIX.Core.Applications.Errors.RecoverableUserError

Handle() protected static method

protected static Handle ( NotDetectedAsSteamGame ex, string action ) : RecoverableUserError
ex NotDetectedAsSteamGame
action string
return withSIX.Core.Applications.Errors.RecoverableUserError

Handle() protected static method

protected static Handle ( QueueProcessingError ex, string action ) : RecoverableUserError
ex QueueProcessingError
action string
return withSIX.Core.Applications.Errors.RecoverableUserError

Handle() protected static method

protected static Handle ( SetupException ex, string action ) : RecoverableUserError
ex withSIX.Core.SetupException
action string
return withSIX.Core.Applications.Errors.RecoverableUserError

Handle() protected static method

protected static Handle ( SteamInitializationException ex, string action ) : RecoverableUserError
ex withSIX.Steam.Core.SteamInitializationException
action string
return withSIX.Core.Applications.Errors.RecoverableUserError

Handle() protected static method

protected static Handle ( SteamNotFoundException ex, string action ) : RecoverableUserError
ex withSIX.Steam.Core.SteamNotFoundException
action string
return withSIX.Core.Applications.Errors.RecoverableUserError

HandleException() public method

public HandleException ( Exception ex, string action = "Action" ) : UserErrorModel
ex System.Exception
action string
return withSIX.Core.Applications.Errors.UserErrorModel