From: <zep...@us...> - 2006-12-16 21:04:54
|
Revision: 250 http://svn.sourceforge.net/pzfilereader/?rev=250&view=rev Author: zepernick Date: 2006-12-16 13:04:55 -0800 (Sat, 16 Dec 2006) Log Message: ----------- changed exceptions being thrown on unsupported methods Modified Paths: -------------- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/brparse/BuffReaderPZParseFactory.java Modified: trunk/PZFileReader/src/main/java/net/sf/pzfilereader/brparse/BuffReaderPZParseFactory.java =================================================================== --- trunk/PZFileReader/src/main/java/net/sf/pzfilereader/brparse/BuffReaderPZParseFactory.java 2006-12-16 21:04:02 UTC (rev 249) +++ trunk/PZFileReader/src/main/java/net/sf/pzfilereader/brparse/BuffReaderPZParseFactory.java 2006-12-16 21:04:55 UTC (rev 250) @@ -63,14 +63,14 @@ * Not supported at this time. */ public PZParser newFixedLengthParser(final Connection con, final File dataSource, final String dataDefinition) { - throw new RuntimeException("Not supported..."); + throw new UnsupportedOperationException("Not supported..."); } /** * Not supported at this time. */ public PZParser newFixedLengthParser(final Connection con, final InputStream dataSourceStream, final String dataDefinition) { - throw new RuntimeException("Not supported..."); + throw new UnsupportedOperationException("Not supported..."); } /* @@ -98,7 +98,7 @@ */ public PZParser newDelimitedParser(final Connection con, final InputStream dataSourceStream, final String dataDefinition, final char delimiter, final char qualifier, final boolean ignoreFirstRecord) { - throw new RuntimeException("Not supported..."); + throw new UnsupportedOperationException("Not supported..."); } /* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |