com.aragost.javahg.internals
Class RuntimeIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.aragost.javahg.internals.RuntimeIOException
All Implemented Interfaces:
Serializable

public class RuntimeIOException
extends RuntimeException

A wrapper for IOException.

Among other places, Iterator implementations can only throw checked exceptions, and so we cannot really handle IOExceptions there. So they are wrapped with this class.

See Also:
Serialized Form

Constructor Summary
RuntimeIOException(IOException e)
           
 
Method Summary
 IOException getIOException()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

RuntimeIOException

public RuntimeIOException(IOException e)
Parameters:
e - the IOException being wrapped.
Method Detail

getIOException

public IOException getIOException()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.