迷信 new に失敗すると NULL が返る。

http://www.kijineko.co.jp/tech/superstitions/return-null-if-new-failed.html

try-catch()で捕まえるのが確実っぽいです。