C# Class NJsonApi.Common.Infrastructure.NJsonApiBaseException

Inheritance: System.Exception
Afficher le fichier Open project: jacek-gorgon/NJsonApi

Méthodes publiques

Méthode Description
GetHttpStatusCode ( ) : HttpStatusCode

Return the default mapping of exception to standard HTTP error code. Default implementation returns 500. Sub-classes should override this when needed

NJsonApiBaseException ( ) : System
NJsonApiBaseException ( string message ) : System
NJsonApiBaseException ( string message, Exception innerException ) : System

Méthodes protégées

Méthode Description
NJsonApiBaseException ( SerializationInfo info, StreamingContext context ) : System

Private Methods

Méthode Description
AssignId ( ) : void

Method Details

GetHttpStatusCode() public méthode

Return the default mapping of exception to standard HTTP error code. Default implementation returns 500. Sub-classes should override this when needed
public GetHttpStatusCode ( ) : HttpStatusCode
Résultat HttpStatusCode

NJsonApiBaseException() public méthode

public NJsonApiBaseException ( ) : System
Résultat System

NJsonApiBaseException() protected méthode

protected NJsonApiBaseException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System

NJsonApiBaseException() public méthode

public NJsonApiBaseException ( string message ) : System
message string
Résultat System

NJsonApiBaseException() public méthode

public NJsonApiBaseException ( string message, Exception innerException ) : System
message string
innerException System.Exception
Résultat System