Uses of Class
gate.util.GateException

Packages that use GateException
gate  
gate.config   
gate.creole   
gate.creole.gazetteer   
gate.creole.tokeniser   
gate.gui   
gate.jape   
gate.persist   
gate.security   
gate.util   
 

Uses of GateException in gate
 

Methods in gate that throw GateException
 void CreoleRegister.registerDirectories()
          Register all the CREOLE directories that we know of.
 void CreoleRegister.registerDirectories(URL directoryUrl)
          Register a single CREOLE directory.
 void CreoleRegister.registerBuiltins()
          Register resources that are built in to the GATE distribution.
 List CreoleRegister.getAllInstances(String type)
          Gets all the instantiations of a given type and all its derivate types; It doesn't return instances that have the hidden attribute set to "true"
static void Gate.init()
          Initialisation - must be called by all clients before using any other parts of the library.
static void Gate.initCreoleRegister()
          Initialise the CREOLE register.
static void Gate.initConfigData()
          Reads config data (gate.xml files).
static URL Gate.getUrl()
          Get a URL that points to either an HTTP server or a file system that contains GATE files (such as test cases).
static URL Gate.getUrl(String path)
          Get a URL that points to either an HTTP server or a file system that contains GATE files (such as test cases).
static void Gate.writeUserConfig()
          Update the GATE development environment configuration data in the user's gate.xml file (create one if it doesn't exist).
 void CookBook.testResourceCreation()
          Constructing a resource
 void CookBook.testCorpusConstruction()
          Constructing a corpus
 void CookBook.testAddingDocuments()
          Adding documents to a corpus
 void CookBook.setUp()
          Fixture set up: initialise members before each test method
static void Main.main(String[] args)
          Main routine for GATE.
static MainFrame Main.getMainFrame()
          Get the main frame of the GUI.
private static void Main.runGui()
          Run the user interface.
private static void Main.batchProcess()
          Run commands as a batch process.
 

Uses of GateException in gate.config
 

Methods in gate.config that throw GateException
 void ConfigDataProcessor.parseConfigFile(InputStream configStream, URL configUrl)
          Parse a config file (represented as an open stream).
 

Constructors in gate.config that throw GateException
TestConfig(String name)
          Construction
ConfigDataProcessor()
          Default constructor.
 

Uses of GateException in gate.creole
 

Subclasses of GateException in gate.creole
 class ExecutionException
          This exception indicates failure during run() invocations on ProcessingResources.
 class ExecutionInterruptedException
          Thrown by Executables after they have stopped their execution as a result of a call to their interrupt() method.
 class ParameterException
          This exception indicates failure to set a resource parameter.
 class ResourceInstantiationException
          This exception indicates failure during instantiation of resources, which may be due to a number of causes: the resource metadata contains parameters that aren't available on the resource; the class for the resource cannot be found (e.g.
 

Methods in gate.creole that throw GateException
static void AbstractResource.setResourceListeners(Resource resource, Map listeners)
          Adds listeners to a resource.
static void AbstractResource.removeResourceListeners(Resource resource, Map listeners)
          Removes listeners from a resource.
 void CreoleRegisterImpl.registerDirectories()
          Register all the CREOLE directories that we know of.
 void CreoleRegisterImpl.registerDirectories(URL directoryUrl)
          Register a single CREOLE directory.
protected  void CreoleRegisterImpl.parseDirectory(InputStream directoryStream, URL directoryUrl)
          Parse a directory file (represented as an open stream), adding resource data objects to the CREOLE register as they occur.
 void CreoleRegisterImpl.registerBuiltins()
          Register resources that are built in to the GATE distribution.
 List CreoleRegisterImpl.getAllInstances(String type)
          Gets all the instantiations of a given type and all its derivate types; It doesn't return instances that have the hidden attribute set to "true"
 void AnnotationVisualResource.okAction()
          Called by the GUI when the user has pressed the "OK" button.
 void AnnotationVisualResource.cancelAction()
          Called by the GUI when the user has pressed the "Cancel" button.
 void BootStrap.verifyInput(String className, String pathNewProject)
          verify if the class name contains only letters and digits the path of the new project is a directory
 void BootStrap.createResource(String resourceName, String packageName, String typeResource, String className, Set interfacesList, String pathNewProject)
          Creates the resource and dumps out a project structure using the structure from gate/resource/creole/templateproject/Template and the information provided by the user
 void TestControllers.setUp()
          Fixture set up
 void TestSplitterTagger.setUp()
          Fixture set up
 

Constructors in gate.creole that throw GateException
CreoleRegisterImpl()
          Default constructor.
TestCreole(String name)
          Construction
 

Uses of GateException in gate.creole.gazetteer
 

Subclasses of GateException in gate.creole.gazetteer
 class GazetteerException
          Used to signal Gazetteer specific exceptions
 

Uses of GateException in gate.creole.tokeniser
 

Subclasses of GateException in gate.creole.tokeniser
 class InvalidRuleException
          Fired when an invalid tokeniser rule is found
 class TokeniserException
          The top level exception for all the exceptions fired by the tokeniser
 

Uses of GateException in gate.gui
 

Methods in gate.gui that throw GateException
 void UnrestrictedAnnotationEditor.okAction()
          Called by the GUI when the user has pressed the "OK" button.
 void UnrestrictedAnnotationEditor.cancelAction()
           
 void SchemaAnnotationEditor.okAction()
          Called by the GUI when the user has pressed the "OK" button.
 void SchemaAnnotationEditor.cancelAction()
           
 void SyntaxTreeViewer.okAction()
          Called by the GUI when the user has pressed the "OK" button.
 void SyntaxTreeViewer.cancelAction()
          Called by the GUI when the user has pressed the "Cancel" button.
 

Uses of GateException in gate.jape
 

Subclasses of GateException in gate.jape
 class JapeException
          Superclass of all JAPE exceptions.
 class JdmException
          THIS CLASS SHOULDN'T BE HERE.
 

Methods in gate.jape that throw GateException
 void TestJape._testCombined()
          Test using the large "combined" grammar from the gate/resources tree.
 void TestJape.DoTestBigGrammar(String textName)
           
 

Uses of GateException in gate.persist
 

Subclasses of GateException in gate.persist
 class PersistenceException
          This exception indicates failure during persistence operations.
 

Methods in gate.persist that throw GateException
private  void OracleDataStore.unloadLR(Long lrID)
          unloads a LR from the GUI
 

Constructors in gate.persist that throw GateException
TestPersist(String name)
          Construction
 

Uses of GateException in gate.security
 

Subclasses of GateException in gate.security
 class SecurityException
          This exception indicates security violation.
 

Constructors in gate.security that throw GateException
TestSecurity(String name)
          Construction
 

Uses of GateException in gate.util
 

Subclasses of GateException in gate.util
 class DocumentFormatException
          This exception can be used to catch any internal exception thrown by the DocumentFormat class and its subbclasses.
 class InvalidDatabaseException
          Used to signal an attempt to connect to a database in an invalid format, that is a database tha does not have the right structure (see Gate2 documentation for details on required database structure).
 class InvalidOffsetException
          Used to signal an attempt to create a node with an invalid offset.
 class NoSuchObjectException
          Raised when there is an attempt to read an inexistant object from the database(i.e.
 class OpenTransactionsException
          Used to signal an attempt to close all connections to a database while there are still connections in use by the clients of that database.
 

Methods in gate.util that throw GateException
 void TestJdk.testCompiler()
          Jdk compiler
 void TestJdk.testCompiler2()
          Jdk compiler test 2.
static void Jdk.main(String[] args)
          main.
 void Jdk.testMe()
          Test method.
 File Jdk.getToolsHome()
          Returns a File specifying the location of the JDK tools, i.e.
 byte[] Jdk.compile(String javaCode, String className)
          Compile a class from its source code string.
 byte[] Jdk.readClass(String classFileName)
          Read the bytes for a class.
 Class Jdk.loadActionClass(String classFileName)
          Load a class.
 Class Jdk.defineClass(String classQualifiedName, byte[] classBytes)
          Define a class from its qualified name and the byte array of its binary.
 Object Jdk.instantiateClass(Class theClass)
          Create an instance of a class.
static void CorpusSaver.main(String[] args)
           
static void CorpusBenchmarkTool.main(String[] args)
           
 void JarFiles.merge(Set jarFileNames, String destinationJarName)
          This method takes the content of all jar/zip files from the set jarFileNames and put them in a file with the name outputFileName.
private  void JarFiles.addJar(JarOutputStream destinationJar, JarFile sourceJar)
          This method adds all entries from sourceJar to destinationJar NOTE: that manifest information is not added, method will throw a gate Exception if a duplicate entry file is found.