The package should have a base exception interface, and wherever we throw an exception, throw an appropriate extended SPLException which implements that base interface.
Right now if the baseURL is not passed a RegExpRouter\Exception is thrown, which does not exist.