Indentation problem with long method signature and throws

"Edelson, Justin" <[email protected]>
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <48DE874E82759E4090ABEE331414CABF01BEA77A@WISECRACK.mtvn.ad.viacom.com>
I'm having a problem with the Indentation module when a method signature
is wrapped such that the throws part is on a second line. My desired
style is something like this:
    protected String findMailAddressFor(String displayName)
            throws NamingException {
        ...
    }

i.e. four spaces before the first line and 12 spaces before the second
line.

When using the default Indentation settings, I get this warning: method
def throws at indentation level 12 not at correct indentation, 8

I saw a mailing list entry on this from about 2 years ago that suggested
it was impossible to work around. Is that still this case?

Oddly (to my mind at least), this works fine:
    protected String findMailAddressFor(String displayName, String
parameter,
            String otherParameter) throws NamingException {
        ...
    }

Thanks,
Justin

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.