org.moeaframework.util.io
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.moeaframework.core.FrameworkException
org.moeaframework.util.io.ValidationException
- All Implemented Interfaces:
- Serializable
public class ValidationException
- extends FrameworkException
Exception indicating a file could not be validated.
- See Also:
- Serialized Form
|
Method Summary |
File |
getFile()
Returns the file that could not be validated. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ValidationException
public ValidationException(File file,
String message)
- Constructs an exception indicating the specified file could not be
validated.
- Parameters:
file - the file that could not be validatedmessage - optional message providing additional details, set to
null if omitted
getFile
public File getFile()
- Returns the file that could not be validated.
- Returns:
- the file that could not be validated
Copyright 2009-2015 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Hosted by