public GhostscriptException(string message, int errorCode) : base(message, errorCode) { //ex.ErrorCode if (Enum.IsDefined(typeof(API.GhostscriptErrorCode), errorCode)) { gsErrorCode = (API.GhostscriptErrorCode)errorCode; } else { gsErrorCode = API.GhostscriptErrorCode.UNKNOWN; } }
public GhostscriptException(string message, int errorCode) : base(message, errorCode) { //ex.ErrorCode if (Enum.IsDefined(typeof(API.GhostscriptErrorCode), errorCode)) { gsErrorCode = (API.GhostscriptErrorCode)errorCode; } else { gsErrorCode = API.GhostscriptErrorCode.UNKNOWN; } }
public GhostscriptException(string message) : base(message) { gsErrorCode = API.GhostscriptErrorCode.UNKNOWN; }
public GhostscriptException(string message) : base(message) { gsErrorCode = API.GhostscriptErrorCode.UNKNOWN; }