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:
Serializable
Exception thrown when an online resource is accessed while in offline mode.
- Since:
- 7434
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OfflineAccessExceptionforResource(String name) Returns a new OfflineAccessException with a translated message for the given resourceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OfflineAccessException
Constructs a newOfflineAccessException.- Parameters:
s- the String that contains a detailed message
-
-
Method Details
-
forResource
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
-