public class InvalidPackageException extends Exception(Code)
An exception thrown by DefinitionsDocument.getPackageName() when the
document contains an invalid package statement.
This can happen if there is nothing between "package" and ";", or if there
is no terminating semicolon ever.
version: $Id: InvalidPackageException.java 4255 2007-08-28 19:17:37Z mgricken $
getLocation() Returns the location of the problem.
Constructor Detail
InvalidPackageException
public InvalidPackageException(int location, String message)(Code)
Constructs a exception
Parameters: location - The location in the document where the invalid packagestatement begins. Parameters: message - Textual explanation of the problem.