org.apache.hadoop.mapreduce.lib.input
Class InvalidInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.mapreduce.lib.input.InvalidInputException
- All Implemented Interfaces:
- Serializable
@InterfaceAudience.Public
@InterfaceStability.Stable
public class InvalidInputException
- extends IOException
This class wraps a list of problems with the input, so that the user
can get a list of problems together instead of finding and fixing them one
by one.
- See Also:
- Serialized Form
InvalidInputException
public InvalidInputException(List<IOException> probs)
- Create the exception with the given list.
- Parameters:
probs
- the list of problems to report. this list is not copied.
getProblems
public List<IOException> getProblems()
- Get the complete list of the problems reported.
- Returns:
- the list of problems, which must not be modified
getMessage
public String getMessage()
- Get a summary message of the problems found.
- Overrides:
getMessage
in class Throwable
- Returns:
- the concatenated messages from all of the problems.
Copyright © 2014 Apache Software Foundation. All Rights Reserved.