Eclipse Platform
2.0

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

Constructor Summary
InvalidSiteTypeException(String newType)
          Construct the exception indicating the detected site type
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidSiteTypeException

public InvalidSiteTypeException(String newType)
Construct the exception indicating the detected site type

Since:
2.0
Method Detail

getNewType

public String getNewType()
Returns the site type detected in the parsed site manifest

Returns:
site type
Since:
2.0

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.