Sunday, April 29, 2012

How to check a Constraint Exception in ASP.net (C#)


try
            {
                //statements
            }
            catch (ConstraintException cex)
            {
                throw;
            }
            catch (Exception ex)
            {
                throw;
            }
            /*
             * order matters
            */

No comments:

Post a Comment