标题: [Oracle interview]If I want an object of my class to be thrown as an exception object, what should I do? [打印本页] 作者: 姜青林 时间: 2013-8-16 16:07 标题: [Oracle interview]If I want an object of my class to be thrown as an exception object, what should I do? 作者: 胡一搏 时间: 2013-8-16 16:13
The class should extend from Exception class. Or you can extend your class from some more precise exception type also.