|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.core.runtime.CoreException
org.eclipse.cdt.core.cdtvariables.CdtVariableException
public class CdtVariableException
This exception is thrown in the case of some build macros-related operation failure The exception typically contains one or more IBuildMacroStatus statuses
Constructor Summary | |
---|---|
CdtVariableException(int code,
java.lang.String macroName,
java.lang.String expression,
java.lang.String referencedName)
Creates an exception containing a single IBuildMacroStatus status with the IStatus.ERROR severity and with the default message |
|
CdtVariableException(int code,
java.lang.String message,
java.lang.Throwable exception,
java.lang.String macroName,
java.lang.String expression,
java.lang.String referencedName)
Creates an exception containing a single IBuildMacroStatus status with the IStatus.ERROR severity |
|
CdtVariableException(org.eclipse.core.runtime.IStatus status)
Creates a new exception with the given status object. |
Method Summary | |
---|---|
ICdtVariableStatus[] |
getVariableStatuses()
Returns an array of the IBuildMacroStatus statuses this exception holds |
Methods inherited from class org.eclipse.core.runtime.CoreException |
---|
getStatus, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CdtVariableException(org.eclipse.core.runtime.IStatus status)
status
- the status object to be associated with this exception.
Typically this is either the IBuildMacroStatus or the MultiStatus that holds
the list of the IBuildMacroStatus statusespublic CdtVariableException(int code, java.lang.String message, java.lang.Throwable exception, java.lang.String macroName, java.lang.String expression, java.lang.String referencedName)
code
- one of the IBuildMacroStatus.TYPE_xxx statussesmessage
- message, can be null. In this case the default message will
be generated base upon the other status infoexception
- a low-level exception, or null
if not
applicablemacroName
- the name of the build macro whose resolution caused this status creation or null if noneexpression
- the string whose resolutinon caused caused this status creation or null if nonereferencedName
- the macro name referenced in the resolution string that caused this this status creation or null if nonecontextType
- the context type used in the operationcontextData
- the context data used in the operationpublic CdtVariableException(int code, java.lang.String macroName, java.lang.String expression, java.lang.String referencedName)
code
- one of the IBuildMacroStatus.TYPE_xxx statussesexception
- a low-level exception, or null
if not
applicablemacroName
- the name of the build macro whose resolution caused this status creation or null if noneexpression
- the string whose resolutinon caused caused this status creation or null if nonereferencedName
- the macro name referenced in the resolution string that caused this this status creation or null if nonecontextType
- the context type used in the operationcontextData
- the context data used in the operationMethod Detail |
---|
public ICdtVariableStatus[] getVariableStatuses()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |