|
|||||||||
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.openoffice.ide.eclipse.core.model.config.InvalidConfigException
public class InvalidConfigException
This exception is thrown when an OOo or SDK isn't valid, ie that it's home doesn't fit to a correct home directory for an OOo or SDK.
IOOo
,
ISdk
,
Serialized FormField Summary | |
---|---|
static int |
INVALID_OOO_HOME
The error points to an invalid OOo home path. |
static int |
INVALID_SDK_HOME
The error points to an invalid SDK home path. |
Constructor Summary | |
---|---|
InvalidConfigException(java.lang.String pMessage,
int pCode)
Constructor of the invalid SDK exception. |
|
InvalidConfigException(java.lang.String pMessage,
int pCode,
java.lang.Throwable pException)
Constructor of the invalid SDK exception. |
Method Summary | |
---|---|
int |
getErrorCode()
Returns the error code of the exception among the constants of the InvalidSDKException class. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int INVALID_SDK_HOME
public static final int INVALID_OOO_HOME
Constructor Detail |
---|
public InvalidConfigException(java.lang.String pMessage, int pCode)
pMessage
- error messagepCode
- error codepublic InvalidConfigException(java.lang.String pMessage, int pCode, java.lang.Throwable pException)
pMessage
- error messagepCode
- error codepException
- exception in case there is one.Method Detail |
---|
public int getErrorCode()
InvalidSDKException
class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |