Package org.apache.hadoop.mapred
Class InvalidInputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.mapred.InvalidInputException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidInputException(List<IOException> probs) Create the exception with the given list. -
Method Summary
Modifier and TypeMethodDescriptionGet a summary message of the problems found.Get the complete list of the problems reported.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidInputException
Create the exception with the given list. The first element of the list is used as the init cause value.- Parameters:
probs- the list of problems to report. this list is not copied.
-
-
Method Details
-
getProblems
Get the complete list of the problems reported.- Returns:
- the list of problems, which must not be modified
-
getMessage
Get a summary message of the problems found.- Overrides:
getMessagein classThrowable- Returns:
- the concatenated messages from all of the problems.
-