Returns the message along with the message from any linked exception.
String retString = null;
// Return the message of this exception.
if (_message != null) {
retString = _message;
}
// Append any message from the linked exception.
if (linkedException != null && linkedException.getMessage() != null) {
if (retString != null) {
retString += retString + "\n" + linkedException.getMessage();
} else {
retString = linkedException.getMessage();
}
}
return retString;