Project

General

Profile

« Previous | Next » 

Revision c4a7540a

Added by Patrick Plitzner about 7 years ago

ref #4611 i18n for molecular plugin

View differences:

eu.etaxonomy.taxeditor.molecular/src/main/java/eu/etaxonomy/taxeditor/molecular/io/SequenceIDIterator.java
12 12
import java.util.Iterator;
13 13
import java.util.NoSuchElementException;
14 14

  
15
import eu.etaxonomy.taxeditor.molecular.Messages;
16

  
15 17

  
16 18

  
17 19
/**
......
55 57
            return CDMSequenceMatrixAdapter.CONSENSUS_SEQUENCE_ID;
56 58
        }
57 59
        else {
58
            throw new NoSuchElementException("There are no more sequence IDs availble from this iterator.");
60
            throw new NoSuchElementException(Messages.SequenceIDIterator_NO_MORE_SEQUENCES);
59 61
        }
60 62
    }
61 63

  
62 64

  
63 65
    @Override
64 66
    public void remove() {
65
        throw new UnsupportedOperationException("This iterator does not support removing elements.");
67
        throw new UnsupportedOperationException(Messages.SequenceIDIterator_REMOVE_NOT_SUPPORTED);
66 68
    }
67 69
}

Also available in: Unified diff