1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

New method getDetailMessage()

This commit is contained in:
Alain Magloire 2002-12-05 16:02:22 +00:00
parent a17576811c
commit 0e81b98bfd
2 changed files with 20 additions and 0 deletions

View file

@ -14,6 +14,8 @@ package org.eclipse.cdt.debug.core.cdi;
*/
public class CDIException extends Exception {
String details = "";
public CDIException() {
super();
}
@ -21,4 +23,17 @@ public class CDIException extends Exception {
public CDIException(String s) {
super(s);
}
public CDIException(String s, String d) {
super(s);
details = d;
}
/**
* Returns a more details message(if any).
*/
public String getDetailMessage() {
return details;
}
}

View file

@ -18,4 +18,9 @@ public interface ICDIErrorInfo extends ICDISessionObject {
* Returns the error message.
*/
public String getMessage();
/**
* Returns a more verbatim error message(if any).
*/
public String getDetailMessage();
}