Changeset 892

Show
Ignore:
Timestamp:
10/07/06 12:42:14 (2 years ago)
Author:
alban
Message:

fix exception throws by createConfiguration

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/source/org/kolaka/freecast/setup/ReceiverWizardModel.java

    r883 r892  
    4343import org.pietschy.wizard.models.Path; 
    4444import org.pietschy.wizard.models.SimplePath; 
     45import org.pietschy.wizard.InvalidStateException; 
    4546 
    4647public class ReceiverWizardModel extends MultiPathModel { 
     
    109110  } 
    110111   
    111   public void createConfiguration(String type) throws IllegalStateException { 
     112  public void createConfiguration(String type) throws InvalidStateException { 
    112113    this.type = type; 
    113114     
     
    116117      this.configuration = (SourceReceiverConfiguration) configurationClass.newInstance(); 
    117118    } catch (Exception e) { 
    118       throw new IllegalStateException("Can't create configuration", e); 
     119      throw new InvalidStateException("Can't create configuration", e); 
    119120    } 
    120121