Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## juzu
Class UndeclaredIOException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  java.lang.reflect.UndeclaredThrowableException
                      juzu.UndeclaredIOException

All Implemented Interfaces:
  Serializable

    public class UndeclaredIOException

extends UndeclaredThrowableException

An unchecked wrapper for `IOException`. Note that this exception should not be abused, i.e it should not be used in place of `IOException`. It should be used in the Juzu API used to develop an application, which makes the `IOException` transparent to the developer, for instance we want to void the developer to care about the `IOException` in this situation:

        public void index() throws IOException {
           template.render();
        }

Instead the `Template.render()` methods wraps the `IOException` with this unchecked wrapper and the developer does not have to care about it anymore:

        public void index() {
           template.render();
        }

Author:
  Julien Viet
See Also:
  Serialized Form

Constructor Summary
`UndeclaredIOException(IOException undeclaredIO)`

Method Summary

Methods inherited from class java.lang.reflect.UndeclaredThrowableException
`getCause, getUndeclaredThrowable`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### UndeclaredIOException

    public UndeclaredIOException(IOException undeclaredIO)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 eXo Platform SAS. All Rights Reserved.