Quote (Blankey @ May 12 2015 05:18pm)
Hi, just dropping in to say that its nice that u help ppl sometimes with their coding problems. It's nice that good/helpful people still exist.
Bump and Godspeed!
By no stretch of anyone's imagination am i a good person, but i can be helpful at times.
Quote
Are u good enough to code out of a wet paper bag yet? :D
apparently not

Code
public static void main(String[] args){
EmergencyServiceProvider ems = EmergencyServicesFactory.getEmergyServiceProvider();
try{
String status = ems.sendRequest(null,
null,
EmergencyRequestType.URGENT,
null,
"Help! i'm trapped in a wet paper bag!",
null,
null,
null,
UUID.randomUUID().toString());
System.out.println("request sent. status=" + status);
} catch (ServiceNotAvailableException e){
e.printStackTrace();
}
}
output:
Quote
Exception in thread "main" org.services.ServiceNotAvailableException: No one can hear you scream.
at com.example.myproject.EmergenyServiceProvider.sendRequest(EmergenyServiceProviderImpl.java:38)
at com.example.myproject.Bootstrap.main(Bootstrap.java:6)
This post was edited by carteblanche on May 12 2015 04:02pm