}
// cannot move a directory into itself
if ( newDirectory.getPath( ).isChildOf( directory.getPath( ) ) )
{
throw new CannotMoveDirectoryIntoItselfException(
"Cannot move directory "
+ directory.getPath( ).getAbsolutePath( )
+ " into a sub-directory of itself." );
}