org.eclipse.update.core.model
Class InvalidSiteTypeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.eclipse.update.core.model.InvalidSiteTypeException
- All Implemented Interfaces:
- Serializable
- public class InvalidSiteTypeException
- extends Exception
Exception thrown when the type of the site discovered in the site manifest
does not correspond to the type expected by the concrete site factory.
- Since:
- 2.0
- See Also:
SiteModelFactory.canParseSiteType(String)
,
Serialized Form
Method Summary |
String |
getNewType()
Returns the site type detected in the parsed site manifest |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InvalidSiteTypeException
public InvalidSiteTypeException(String newType)
- Construct the exception indicating the detected site type
- Since:
- 2.0
getNewType
public String getNewType()
- Returns the site type detected in the parsed site manifest
- Returns:
- site type
- Since:
- 2.0
Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.