unbbayes.io
Class FileExtensionIODelegator.MoreThanOneCompatibleIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by unbbayes.io.FileExtensionIODelegator.MoreThanOneCompatibleIOException
All Implemented Interfaces:
Serializable
Enclosing class:
FileExtensionIODelegator

public class FileExtensionIODelegator.MoreThanOneCompatibleIOException
extends IOException

This is an exception thrown when more than one IO class can be used to delegate. Callers catching this exception may use getIOs() to get the available IOs and ask the user to select the desired one.

Author:
Shou Matsumoto
See Also:
Serialized Form

Constructor Summary
FileExtensionIODelegator.MoreThanOneCompatibleIOException(List<BaseIO> ios)
          Basic constructor initializing fields
FileExtensionIODelegator.MoreThanOneCompatibleIOException(String message, List<BaseIO> ios)
          Constructor initializing fields and basic message.
FileExtensionIODelegator.MoreThanOneCompatibleIOException(String message, Throwable t, List<BaseIO> ios)
          Constructor initializing fields, basic message and its cause (Throwable)
 
Method Summary
 List<BaseIO> getIOs()
          The available I/O classes plausible for the given extension.
 
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

FileExtensionIODelegator.MoreThanOneCompatibleIOException

public FileExtensionIODelegator.MoreThanOneCompatibleIOException(List<BaseIO> ios)
Basic constructor initializing fields


FileExtensionIODelegator.MoreThanOneCompatibleIOException

public FileExtensionIODelegator.MoreThanOneCompatibleIOException(String message,
                                                                 List<BaseIO> ios)
Constructor initializing fields and basic message.

Parameters:
message -
ios -

FileExtensionIODelegator.MoreThanOneCompatibleIOException

public FileExtensionIODelegator.MoreThanOneCompatibleIOException(String message,
                                                                 Throwable t,
                                                                 List<BaseIO> ios)
Constructor initializing fields, basic message and its cause (Throwable)

Parameters:
message -
t -
ios -
Method Detail

getIOs

public List<BaseIO> getIOs()
The available I/O classes plausible for the given extension. A code catching this exception may use this to build a list for a user to choose the desired I/O class to use.

Returns:
the ios : a non-null collection.


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.