package com.worklight.location.internal.wifi;

import com.worklight.location.api.wifi.WLWifiError.WLWifiErrorCodes;

public class WifiException extends Exception
{
  private final WLWifiError.WLWifiErrorCodes errorCode;

  public WifiException(WLWifiError.WLWifiErrorCodes paramWLWifiErrorCodes)
  {
    super(getErrorMessage(paramWLWifiErrorCodes));
    this.errorCode = paramWLWifiErrorCodes;
  }

  private static String getErrorMessage(WLWifiError.WLWifiErrorCodes paramWLWifiErrorCodes)
  {
    switch (1.$SwitchMap$com$worklight$location$api$wifi$WLWifiError$WLWifiErrorCodes[paramWLWifiErrorCodes.ordinal()])
    {
    default:
      throw new AssertionError("Invalid enum " + paramWLWifiErrorCodes);
    case 1:
      return "The WiFi on the device is turned off";
    case 2:
      return "The device failed to start scanning. It is recommended that you retry after a few seconds";
    case 3:
    }
    return "There is a permissions problem.";
  }

  public WLWifiError.WLWifiErrorCodes getErrorCode()
  {
    return this.errorCode;
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.worklight.location.internal.wifi.WifiException
 * JD-Core Version:    0.6.2
 */