Enum ServiceExceptionEnumeration

  • All Implemented Interfaces:
    Serializable, Comparable<ServiceExceptionEnumeration>

    public enum ServiceExceptionEnumeration
    extends Enum<ServiceExceptionEnumeration>

    Java class for ServiceExceptionEnumeration.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="ServiceExceptionEnumeration">
       <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
         <enumeration value="beforeFirstJourney"/>
         <enumeration value="afterLastJourney"/>
         <enumeration value="noServiceToday"/>
         <enumeration value="transportTemporarilySuspended"/>
         <enumeration value="transportLongtermSuspended"/>
         <enumeration value="transportSeverlyDisrupted"/>
         <enumeration value="realtimeDataNotAvailable"/>
         <enumeration value="realtimeDataAvailable"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • BEFORE_FIRST_JOURNEY

        public static final ServiceExceptionEnumeration BEFORE_FIRST_JOURNEY
        No transport services returned because currently before first journey of day.
      • AFTER_LAST_JOURNEY

        public static final ServiceExceptionEnumeration AFTER_LAST_JOURNEY
        No transport services returned because currently after first journey of day.
      • NO_SERVICE_TODAY

        public static final ServiceExceptionEnumeration NO_SERVICE_TODAY
        No transport services returned because no services today.
      • TRANSPORT_TEMPORARILY_SUSPENDED

        public static final ServiceExceptionEnumeration TRANSPORT_TEMPORARILY_SUSPENDED
        No transport services returned because services currently suspended.
      • TRANSPORT_LONGTERM_SUSPENDED

        public static final ServiceExceptionEnumeration TRANSPORT_LONGTERM_SUSPENDED
        No transport services returned because prolonged suspension of services.
      • TRANSPORT_SEVERLY_DISRUPTED

        public static final ServiceExceptionEnumeration TRANSPORT_SEVERLY_DISRUPTED
        Transport services returned subject to severe disruptions.
      • REALTIME_DATA_NOT_AVAILABLE

        public static final ServiceExceptionEnumeration REALTIME_DATA_NOT_AVAILABLE
        No transport services returned because real-time services not available.
    • Method Detail

      • values

        public static ServiceExceptionEnumeration[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ServiceExceptionEnumeration c : ServiceExceptionEnumeration.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServiceExceptionEnumeration valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()