// Path: at.attentec.com/android/at.attentec.client/src/com/attentec/Login.java
// public static class LoginException extends Exception {
// 	/**
// 	 *
// 	 */
// 	private static final long serialVersionUID = 1L;
// 
// 	/**
// 	 * No message constructor.
// 	 */
// 	public LoginException() {
// 
// 	}
// 
// 	/**
// 	 * Message constructor.
// 	 * @param description	description of exception
// 	 */
// 	public LoginException(final String description) {
// 		super(description);
// 	}
// }


import java.util.ArrayList;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import java.util.Observable;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
import com.attentec.Login.LoginException;
	 * Validate that status is of correct format.
	 * @param status the status
	 * @return true on success
	 */
	private boolean validateStatus(final Integer status) {
		return (status != null)
			&& (status >= STATUS_OFFLINE)
			&& (status <= STATUS_INVISIBLE);
	}

	/**
	 * Get the current set status as int.
	 * @return the current status
	 */
	public final int getStatus() {
		return mStatus;
	}

	/**
	 * Get the current set status as string.
	 * @return the current status
	 */
	public final String getStatusAsString() {
		switch (mStatus) {
		case STATUS_OFFLINE:
			return STATUS_OFFLINE_STRING;

		case STATUS_ONLINE:
			return STATUS_ONLINE_STRING;

// Path: at.attentec.com/android/at.attentec.client/src/com/attentec/Login.java
// public static class LoginException extends Exception {
// 	/**
// 	 *
// 	 */
// 	private static final long serialVersionUID = 1L;
// 
// 	/**
// 	 * No message constructor.
// 	 */
// 	public LoginException() {
// 
// 	}
// 
// 	/**
// 	 * Message constructor.
// 	 * @param description	description of exception
// 	 */
// 	public LoginException(final String description) {
// 		super(description);
// 	}
// }


// Path: at.attentec.com/android/at.attentec.client/src/com/attentec/Status.java
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import java.util.Observable;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
import com.attentec.Login.LoginException;

	 * Validate that status is of correct format.
	 * @param status the status
	 * @return true on success
	 */
	private boolean validateStatus(final Integer status) {
		return (status != null)
			&& (status >= STATUS_OFFLINE)
			&& (status <= STATUS_INVISIBLE);
	}

	/**
	 * Get the current set status as int.
	 * @return the current status
	 */
	public final int getStatus() {
		return mStatus;
	}

	/**
	 * Get the current set status as string.
	 * @return the current status
	 */
	public final String getStatusAsString() {
		switch (mStatus) {
		case STATUS_OFFLINE:
			return STATUS_OFFLINE_STRING;

		case STATUS_ONLINE:
			return STATUS_ONLINE_STRING;

		case STATUS_DO_NOT_DISTURB: