uk.org.ogsadai.exception
Class DAIURLReadIOException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.exception.DAIException
                    |
                    +--uk.org.ogsadai.exception.DAIURLReadIOException
All Implemented Interfaces:
DAIExceptionInformation, java.io.Serializable

public class DAIURLReadIOException
extends DAIException

Exception thrown when there is an IO exception while reading a URL.

Associated with error code: uk.org.ogsadai.URL_READ_IO_ERROR.

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
private  java.net.URL mUrl
           
 
Fields inherited from class uk.org.ogsadai.exception.DAIException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
DAIURLReadIOException(java.net.URL url, java.io.IOException exception)
          Constructor.
 
Method Summary
 java.net.URL getURL()
          Gets the URL that could not be successfully read.
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
See Also:
Constant Field Values

mUrl

private final java.net.URL mUrl
Constructor Detail

DAIURLReadIOException

public DAIURLReadIOException(java.net.URL url,
                             java.io.IOException exception)
Constructor.

Parameters:
url - URL that produced the error.
exception - The IO exception signaling the error.
Method Detail

getURL

public java.net.URL getURL()
Gets the URL that could not be successfully read.

Returns:
The URL that could not be read.