But your names should conform to standard naming conventions, example here, and end with Exception. If you want to throw an Exception because an empty String has been passed, it should be called EmptyStringException. You should also go through the hierarchy of Exceptions, because there might be a better superclass than Exception.
We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad: