Class 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 new OfflineAccessException.
    • 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
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OfflineAccessException

        public OfflineAccessException​(java.lang.String s)
        Constructs a new OfflineAccessException.
        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