public OcAdapterLayerException(string message, IOcLayer layer, Type typeIn, Type typeOut, [CallerMemberName] string callerName = null, [CallerFilePath] string callerFile = null, [CallerLineNumber] int callerLine = 0) : base(message, layer, null, null, callerName, callerFile, callerLine) { TypeIn = typeIn; if (TypeIn != null) { PropertySet(nameof(TypeIn), TypeIn); } TypeOut = typeOut; if (TypeOut != null) { PropertySet(nameof(TypeOut), TypeOut); } }
public OcApiLayerException(string message, [CanBeNull] Exception exception, IOcLayer layer, [CanBeNull] object entity = null, [CanBeNull] object entityKey = null, [CallerMemberName] string callerName = null, [CallerFilePath] string callerFile = null, [CallerLineNumber] int callerLine = 0) : base(message, exception, layer, entity, entityKey, callerName, callerFile, callerLine) { }