An alternative to UBB.threads
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
FLocal/Web.Core/exceptions/NotFoundInDBException.cs

19 lines
580 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Web.Core.DB;
namespace Web.Core {
public partial class NotFoundInDBException : FLocalException {
public NotFoundInDBException() : base("Object not found in DB") { }
public NotFoundInDBException(ColumnSpec columnSpec, string value) : base("Object " + columnSpec.table.name + "[" + columnSpec.name + "=" + value + "] not found in db") {}
public NotFoundInDBException(ITableSpec tableSpec, string id) : this(tableSpec.getIdSpec(), id) {}
}
}