MOEA Framework 2.12
API Specification

org.moeaframework.util.io
Class ValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.moeaframework.core.FrameworkException
                  extended by 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

Constructor Summary
ValidationException(File file, String message)
          Constructs an exception indicating the specified file could not be validated.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 validated
message - optional message providing additional details, set to null if omitted
Method Detail

getFile

public File getFile()
Returns the file that could not be validated.

Returns:
the file that could not be validated

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!