Class InvalidConfigException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.libreoffice.ide.eclipse.core.model.config.InvalidConfigException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidConfigException extends java.lang.ExceptionThis 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.- See Also:
IOOo,ISdk, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intINVALID_OOO_HOMEThe error points to an invalid OOo home path.static intINVALID_SDK_HOMEThe error points to an invalid SDK home path.
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()Returns the error code of the exception among the constants of theInvalidSDKExceptionclass.
-
-
-
Field Detail
-
INVALID_SDK_HOME
public static final int INVALID_SDK_HOME
The error points to an invalid SDK home path.- See Also:
- Constant Field Values
-
INVALID_OOO_HOME
public static final int INVALID_OOO_HOME
The error points to an invalid OOo home path.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InvalidConfigException
public InvalidConfigException(java.lang.String pMessage, int pCode)Constructor of the invalid SDK exception. It needs a message and a error code among those defined as constants of this class.- Parameters:
pMessage- error messagepCode- error code
-
InvalidConfigException
public InvalidConfigException(java.lang.String pMessage, int pCode, java.lang.Throwable pException)Constructor of the invalid SDK exception. It needs a message and a error code among those defined as constants of this class.- Parameters:
pMessage- error messagepCode- error codepException- exception in case there is one.
-
-