View Javadoc
1   package net.sf.cobol2j;
2   
3   public class FieldParseException extends Exception {
4       private byte[] oryginalData;
5       private FieldFormat fieldFormat;
6   
7       public FieldParseException(byte[] oD, FieldFormat fF, Throwable cause) {
8           this("", oD, fF, cause);
9       }
10  
11      public FieldParseException(String msg, byte[] oD, FieldFormat fF,
12          Throwable cause) {
13          super(msg, cause);
14          oryginalData = oD;
15          fieldFormat = fF;
16      }
17  
18      public byte[] getOryginalData() {
19          return oryginalData;
20      }
21  
22      public FieldFormat getFieldFormat() {
23          return fieldFormat;
24      }
25  }