Sorry but you have hit a 404 (missing) page!
According to our infallible destination analyzer logic code chunk:
public class FourOhFour {
User theUser = new User();
ArrayList<URL> validURLs = new ArrayList<URL>(getGoodURLs());
public void checkURL(URL theURL) {
if(!validURLs.contains(theURL) ){
theUser.setUserType(UserType.NOOB);
oooops(theURL);
}else{
theUser.setUserType(UserType.FRIEND);
goTo(theURL);
}
}
private void oooops(URL badURL){
System.out.println("Sorry " + theUser.getUserType()
+ " but your page " + badURL + " is in another castle!");
}
private void goTo(URL goodURL){
System.out.println("Yay " + theUser.getUserType()
+ "! Please enjoy " + goodURL + "!");
}
}
The execution of your request FourOhFour.checkURL()
results in:
Sorry NOOB but your page is in another castle!
Management appologizes for any inconvenience or code generated insults that you have experienced.
Please inform the code monkeys if their logic is incorrect as they enjoy customer input.
Regards,
Management