|
Pip-Services-Commons-Dotnet
|
Error when required component dependency cannot be found. More...
Public Member Functions | |
| ReferenceException () | |
| Creates an error instance and assigns its values. More... | |
| ReferenceException (object locator) | |
| Creates an error instance and assigns its values. More... | |
| ReferenceException (string correlationId, object locator) | |
| Creates an error instance and assigns its values. More... | |
| ReferenceException (string correlationId, string message) | |
| Creates an error instance and assigns its values. More... | |
| ReferenceException (string correlationId, string code, string message) | |
Public Member Functions inherited from PipServices3.Commons.Errors.InternalException | |
| InternalException (string message) | |
| Creates an error instance with error message. More... | |
| InternalException () | |
| Creates an error instance and assigns its values. More... | |
| InternalException (Exception innerException) | |
| Creates an error instance and assigns its values. More... | |
| InternalException (string correlationId=null, string code=null, string message=null, Exception innerException=null) | |
| Creates an error instance and assigns its values. More... | |
Public Member Functions inherited from PipServices3.Commons.Errors.ApplicationException | |
| ApplicationException () | |
| Creates a new instance of application exception. More... | |
| ApplicationException (string category=null, string correlationId=null, string code=null, string message=null) | |
| Creates a new instance of application exception and assigns its values. More... | |
| override void | GetObjectData (SerializationInfo info, StreamingContext context) |
| ApplicationException | WithCode (string code) |
| Sets a unique error code. More... | |
| ApplicationException | WithCorrelationId (string correlationId) |
| Sets a correlation id which can be used to trace this error through a call chain. More... | |
| ApplicationException | WithCause (Exception cause) |
| Sets a original error wrapped by this exception. More... | |
| ApplicationException | WithStatus (int status) |
| Sets a HTTP status code which shall be returned by REST calls. More... | |
| ApplicationException | WithDetails (string key, object value) |
| Sets a parameter for additional error details. This details can be used to restore error description in other languages. More... | |
| ApplicationException | WithStackTrace (string stackTrace) |
| Sets a stack trace for this error. This method returns reference to this exception to implement Builder pattern to chain additional calls. More... | |
| ApplicationException | Wrap (Exception cause) |
| Wraps another exception into specified application exception object. If original exception is of ApplicationException type it is returned without changes.Otherwise the original error is set as a cause to specified ApplicationException object. More... | |
Protected Member Functions | |
| ReferenceException (SerializationInfo info, StreamingContext context) | |
Protected Member Functions inherited from PipServices3.Commons.Errors.InternalException | |
| InternalException (SerializationInfo info, StreamingContext context) | |
Protected Member Functions inherited from PipServices3.Commons.Errors.ApplicationException | |
| ApplicationException (string message) | |
| Creates a new instance of application exception with string message. More... | |
| ApplicationException (SerializationInfo info, StreamingContext context) | |
Additional Inherited Members | |
Static Public Member Functions inherited from PipServices3.Commons.Errors.ApplicationException | |
| static ApplicationException | WrapException (ApplicationException error, Exception cause) |
| Wraps another exception into specified application exception object. If original exception is of ApplicationException type it is returned without changes.Otherwise the original error is set as a cause to specified ApplicationException object. More... | |
Public Attributes inherited from PipServices3.Commons.Errors.ApplicationException | |
| string | BaseMessage => Message |
Properties inherited from PipServices3.Commons.Errors.ApplicationException | |
| string | Category [get, set] |
| string | CorrelationId [get, set] |
| string | Cause [get, set] |
| string | Code [get, set] |
| int | Status [get, set] |
| StringValueMap | Details [get, set] |
| new string | StackTrace [get, set] |
Error when required component dependency cannot be found.
| PipServices3.Commons.Refer.ReferenceException.ReferenceException | ( | ) |
Creates an error instance and assigns its values.
| PipServices3.Commons.Refer.ReferenceException.ReferenceException | ( | object | locator | ) |
Creates an error instance and assigns its values.
| locator | the locator to find reference to dependent component. |
| PipServices3.Commons.Refer.ReferenceException.ReferenceException | ( | string | correlationId, |
| object | locator | ||
| ) |
Creates an error instance and assigns its values.
| correlationId | (optional) a unique transaction id to trace execution through call chain. |
| locator | the locator to find reference to dependent component. |
| PipServices3.Commons.Refer.ReferenceException.ReferenceException | ( | string | correlationId, |
| string | message | ||
| ) |
Creates an error instance and assigns its values.
| correlationId | (optional) a unique transaction id to trace execution through call chain. |
| message | (optional) a human-readable description of the error. |
1.8.13