Package org.openstreetmap.josm.io
Class OfflineAccessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- org.openstreetmap.josm.io.OfflineAccessException
-
- All Implemented Interfaces:
java.io.Serializable
public class OfflineAccessException extends java.lang.IllegalStateException
Exception thrown when an online resource is accessed while in offline mode.- Since:
- 7434
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OfflineAccessException(java.lang.String s)
Constructs a newOfflineAccessException
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OfflineAccessException
forResource(java.lang.String name)
Returns a new OfflineAccessException with a translated message for the given resource
-
-
-
Constructor Detail
-
OfflineAccessException
public OfflineAccessException(java.lang.String s)
Constructs a newOfflineAccessException
.- Parameters:
s
- the String that contains a detailed message
-
-
Method Detail
-
forResource
public static OfflineAccessException forResource(java.lang.String name)
Returns a new OfflineAccessException with a translated message for the given resource- Parameters:
name
- the translated name/description of the resource- Returns:
- a new OfflineAccessException
-
-