EMMA Coverage Report (generated Thu May 22 12:08:10 CDT 2014)
[all classes][org.springframework.batch.item.file]

COVERAGE SUMMARY FOR SOURCE FILE [NonTransientFlatFileException.java]

nameclass, %method, %block, %line, %
NonTransientFlatFileException.java0%   (0/1)0%   (0/5)0%   (0/34)0%   (0/13)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class NonTransientFlatFileException0%   (0/1)0%   (0/5)0%   (0/34)0%   (0/13)
NonTransientFlatFileException (String, String): void 0%   (0/1)0%   (0/7)0%   (0/3)
NonTransientFlatFileException (String, String, int): void 0%   (0/1)0%   (0/10)0%   (0/4)
NonTransientFlatFileException (String, Throwable, String, int): void 0%   (0/1)0%   (0/11)0%   (0/4)
getInput (): String 0%   (0/1)0%   (0/3)0%   (0/1)
getLineNumber (): int 0%   (0/1)0%   (0/3)0%   (0/1)

1/*
2 * Copyright 2006-2007 the original author or authors.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.springframework.batch.item.file;
17 
18import org.springframework.batch.item.NonTransientResourceException;
19 
20/**
21 * Exception thrown when errors are encountered with the underlying resource.
22 * 
23 * @author Dave Syer
24 */
25public class NonTransientFlatFileException extends NonTransientResourceException {
26 
27        private String input;
28 
29        private int lineNumber;
30 
31        public NonTransientFlatFileException(String message, String input) {
32                super(message);
33                this.input = input;
34        }
35 
36        public NonTransientFlatFileException(String message, String input, int lineNumber) {
37                super(message);
38                this.input = input;
39                this.lineNumber = lineNumber;
40        }
41 
42        public NonTransientFlatFileException(String message, Throwable cause, String input, int lineNumber) {
43                super(message, cause);
44                this.input = input;
45                this.lineNumber = lineNumber;
46        }
47 
48        public String getInput() {
49                return input;
50        }
51 
52        public int getLineNumber() {
53                return lineNumber;
54        }
55}

[all classes][org.springframework.batch.item.file]
EMMA 2.0.5312 (C) Vladimir Roubtsov