Code example for NotYetConnectedException

0
						instance._send(text);
					} catch (IOException e) {
						instance.onError(e);
					} 
				} else { 
					instance.onError(new NotYetConnectedException());
				} 
			} 
		}).start();
	} 
 
 
	public void onError(final Throwable t) {
		Log.e("MonkeyPenis", t.toString());
	} 
	public void onConnect(){  
		Log.i("MonkeyPenis", "Connected");
	} 
 
	public String getId() {
		return id;