Only if you want to suppress the exception. Most likely it would be best to document clearly what exceptions may be thrown and then allow the client to handle it. What can you do? Nothing but suppress it and return null. What can the client do? Show the user an error, try a different format, substitute a default value, etc. Let the client decide how to handle invalid dates.
moose poop looks like football shaped elk poop. About the size of this tiny ad: