Package org.gdbms.engine.internalExceptions

Examples of org.gdbms.engine.internalExceptions.InternalExceptionListener


    dsf.registerDataSource("dxfprueba", new SpatialFileSourceDefinition(basedir + "/src/test/resources/dxfprueba.dxf"));
    dsf.registerDataSource("spatialobjectpersona", new SpatialObjectSourceDefinition(new FakeSpatialObjectDriver()));
    dsf.registerDataSource("objectpersona", new ObjectSourceDefinition(new FakeObjectDriver()));
    dsf.registerDataSource("alltypes", new ObjectSourceDefinition(new AllTypesObjectDriver()));
   
    InternalExceptionCatcher.addInternalExceptionListener(new InternalExceptionListener() {
            /**
             * @see org.gdbms.engine.internalExceptions.InternalExceptionListener#exceptionRaised(org.gdbms.engine.internalExceptions.InternalExceptionEvent)
             */
            public void exceptionRaised(InternalExceptionEvent event) {
                throw new RuntimeException(event.getInternalException());
View Full Code Here

TOP

Related Classes of org.gdbms.engine.internalExceptions.InternalExceptionListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.