Menu

#1 Malformed Fuseactions and Circuits

open
nobody
5
2001-11-07
2001-11-07
Stacy Young
No

I'm not sure if you've got all the error handling in
place so please disregard these observations if you
don't:

If I call an existing circuit with no fuseaction I get:
java.lang.StringIndexOutOfBoundsException: String
index out of range: -1

If I call an existing circuit with non-existent
fuseaction I get:
I received a fuseaction called 'hello' that
circuit 'home' doesn't have a handler for. (what's
strange here is that it's still holding the previous
fuseaction value and not the actual garble I had
entered i.e. "fuseaction=home.garblegarble")

If I call an existing circuit with a dot appended to
it I get:
I received a fuseaction called 'hello' that
circuit 'home' doesn't have a handler for.

If I call a non-existant circuit:
Null Pointer

Discussion


Log in to post a comment.