Package org.openstreetmap.josm.io
Enum Class ChangesetClosedException.Source
java.lang.Object
java.lang.Enum<ChangesetClosedException.Source>
org.openstreetmap.josm.io.ChangesetClosedException.Source
- All Implemented Interfaces:
Serializable,Comparable<ChangesetClosedException.Source>,Constable
- Enclosing class:
- ChangesetClosedException
Identifies when the changeset exception occurred.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe exception was thrown when we tried to close a changeset.Unspecified sourceThe exception was thrown when a changeset was updated.The exception was thrown when data was uploaded to the changeset. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ChangesetClosedException.Source[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATE_CHANGESET
The exception was thrown when a changeset was updated. This most likely means that the changeset was closed before. -
UPLOAD_DATA
The exception was thrown when data was uploaded to the changeset. This most likely means that the servers capability limits for a changeset have been exceeded. -
CLOSE_CHANGESET
The exception was thrown when we tried to close a changeset. Probably the changeset already timed out on the server.- Since:
- 18283
-
UNSPECIFIED
Unspecified source
-
-
Constructor Details
-
Source
private Source()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-