Create Custom Exceptions

Is it possible?

google (rails custom exception)

=> http://weblog.jamisbuck.org/2007/3/7/raising-the-right-exception