Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.util.io.UncheckedIOException Class Reference
Collaboration diagram for joshua.util.io.UncheckedIOException:
[legend]

List of all members.

Public Member Functions

 UncheckedIOException (IOException ioe)
void throwCheckedException () throws IOException
String getMessage ()
String getLocalizedMessage ()
Throwable getCause ()
Throwable initCause (Throwable cause) throws IllegalArgumentException, IllegalStateException
String toString ()
void printStackTrace ()
void printStackTrace (PrintStream s)
void printStackTrace (PrintWriter s)
Throwable fillInStackTrace ()
StackTraceElement[] getStackTrace ()
void setStackTrace (StackTraceElement[] stackTrace) throws NullPointerException

Private Attributes

IOException ioe

Detailed Description

This class provides an unchecked version of IOException. It is generally preferable to use IOException directly, but this class can be useful in contexts where an interface does not allow one to throw checked exceptions.

Author:
wren ng thornton wren@.nosp@m.user.nosp@m.s.sou.nosp@m.rcef.nosp@m.orge..nosp@m.net
Version:
LastChangedDate:
2009-03-26 15:06:57 -0400 (Thu, 26 Mar 2009)

Constructor & Destructor Documentation


Member Function Documentation

Throwable joshua.util.io.UncheckedIOException.initCause ( Throwable  cause) throws IllegalArgumentException, IllegalStateException
void joshua.util.io.UncheckedIOException.setStackTrace ( StackTraceElement[]  stackTrace) throws NullPointerException

Unwrap this object and return the underlying IOException.

Here is the caller graph for this function:


Member Data Documentation