Throw an exception or return null
Is it more Java-thonic to throw an exception or return null?
Can Java throw a null reference to an exception? Can GetStringCritical() throw an exception? How to throw Exception when get null Return a value AND throw an exception? How to Make MockFTPServer Throw an Exception Prints null but doesn't throw exception Exception to throw when instance variables are null Null or throw exception throw an exception on a method call Java and SQL : return null or throw exception? Throw an Exception Why Can't I Throw Exception In A Method(Java) throw exception Java Type of Exception to Throw When the class does not need to throw an Exception Trying to throw own exception How to re-throw an exception Why can I throw null in Java? Throw exception or return a value How do I throw an exception in java? Why does this code throw an exception? java exception throw return Throw Exception only in one case why you need to throw exception in java how to throw an exception in java Java exception throw Which exception should this throw? What exception to throw? How in java throw again exception the same type?