When does Lang.String.toNumberWithBase() return Null?

Lang.String.toNumberWithBase()   can return Null, but the API documentation doesn't mention under what conditions this will occur.

When does it return Null?