org.fuin.utils4j
Class MergeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.fuin.utils4j.MergeException
All Implemented Interfaces:
java.io.Serializable

public final class MergeException
extends java.lang.Exception

One or more attempts to merge properties failed.

See Also:
Serialized Form

Nested Class Summary
static class MergeException.Problem
          Error while merging a property.
 
Constructor Summary
MergeException(java.io.File file, MergeException.Problem[] problems)
          Constructor with file and problem list.
 
Method Summary
 java.io.File getFile()
          File that caused the exception.
 MergeException.Problem[] getProblems()
          Returns an array with the problems.
 
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

MergeException

public MergeException(java.io.File file,
                      MergeException.Problem[] problems)
Constructor with file and problem list.

Parameters:
file - File that caused the exception.
problems - List of one or more problems.
Method Detail

getFile

public final java.io.File getFile()
File that caused the exception.

Returns:
Merged file.

getProblems

public final MergeException.Problem[] getProblems()
Returns an array with the problems.

Returns:
Problem detail list.


Copyright © 2009 Future Invent Informationsmanagement GmbH. All Rights Reserved.