I am talking about the Validate API in apache commons lang, I do not see anything in the documentation
I know the the following is possible
try { Validate.notNull(object) } catch (NullPointerException ex) { throw MyCustomException(ex) }
but I was looking for something more simple then the whole try/catch block.