Debian Codegraph @

util/org/j_paine/formatter/EndOfFileWhenStartingReadException.java

raw
1 package org.j_paine.formatter;
2
3 /* This was originally in Formatter.java, but I needed to be able to
4 * refer to this from outside the package.
5 * --kgs
6 */
7
8 public class EndOfFileWhenStartingReadException extends InputFormatException
9 {
10 public EndOfFileWhenStartingReadException( int vecptr,
11 String format,
12 String line,
13 int line_number
14 )
15 {
16 this( "End of file when starting read of formatted data:\n" +
17 " Index = " + vecptr + "\n" +
18 " Format = " + format + "\n" +
19 "Last line was number " + line_number + ":\n" +
20 line
21 );
22 }
23
24 public EndOfFileWhenStartingReadException( String s )
25 {
26 super( s );
27 }
28
29 public EndOfFileWhenStartingReadException( )
30 {
31 super( );
32 }
33 }