While spelunking through a cavernous J2EE application, Matt stumbled across this method, buried in a base Client Object class...

//throws a client exception
void throwClientException() throws Exception {

    try {
        int i = 8/0;
    } catch(Exception e) {
        String shortMsg = "short_msg_text1\n"
                        + "short_msg_text2";
        String detailMsg = "detail_msg_text1\n"
                         + "detail_msg_text2\n"
                         + "detail_msg_text3";
        throw new ClientException(0, "hi");
    }

}