mace-opensaml-users - Suggestion for SAMLException
Subject: OpenSAML user discussion
List archive
- From: "Cortezzo, Jason" <>
- To:
- Subject: Suggestion for SAMLException
- Date: Fri, 18 Mar 2005 13:58:23 -0500
May I recommend changing this constructor of org.opensaml.SAMLException
from....
public SAMLException(String msg, Exception e) {
super(msg);
this.msg = msg;
this.e = e;
}
...to...
public SAMLException(String msg, Exception e) {
super(msg, e); // Nest the exceptions
this.msg = msg;
this.e = e;
}
It will take advantage of the "chained exception facility". This way if you
do a stacktrace on the SAMLException, you get the stacktrace of the cause as
well.
-Jason Cortezzo
- Suggestion for SAMLException, Cortezzo, Jason, 03/18/2005
- RE: Suggestion for SAMLException, Scott Cantor, 03/18/2005
- Re: Suggestion for SAMLException, Derek Morr, 03/18/2005
- RE: Suggestion for SAMLException, Scott Cantor, 03/18/2005
- Re: Suggestion for SAMLException, Derek Morr, 03/18/2005
- RE: Suggestion for SAMLException, Scott Cantor, 03/18/2005
Archive powered by MHonArc 2.6.16.