Moving constant into exeception class.