遇到了問題想問大家
Exception bookNotExists = new Exception("圖書不存在!");
bookNotExists.initCause(e);
throw bookNotExists;
bookNotExists.initCause(e); ? ? 這個有什么作用
Exception bookNotExists = new Exception("圖書不存在!");
bookNotExists.initCause(e);
throw bookNotExists;
bookNotExists.initCause(e); ? ? 這個有什么作用
2015-07-31
舉報
2015-07-31
自定義異常。