Package org.apache.pig.parser

Examples of org.apache.pig.parser.SourceLocation.line()


            Throwable t = stats.getErrorThrowable();
            assertTrue(t instanceof FrontendException);
           
            FrontendException fe = (FrontendException) t;
            SourceLocation sl = fe.getSourceLocation();
            assertEquals(2, sl.line());
            assertEquals(15, sl.offset());
           
            Throwable cause = fe.getCause();
            assertTrue(cause instanceof ParserException);
           
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.