org.entityfs.support.exception
Class WrappedMalformedURLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.entityfs.support.exception.FileSystemException
                  extended by org.entityfs.support.exception.WrappedMalformedURLException
All Implemented Interfaces:
Serializable

public class WrappedMalformedURLException
extends FileSystemException

This is for wrapping an MalformedURLException and rethrowing it as an unchecked exception.

Since:
1.0
Author:
Karl Gustafsson
See Also:
Serialized Form

Constructor Summary
WrappedMalformedURLException(MalformedURLException e)
           
WrappedMalformedURLException(String msg, MalformedURLException e)
           
 
Method Summary
 MalformedURLException getWrapped()
          Get the wrapped MalformedURLException.
 
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

WrappedMalformedURLException

public WrappedMalformedURLException(MalformedURLException e)

WrappedMalformedURLException

public WrappedMalformedURLException(String msg,
                                    MalformedURLException e)
Method Detail

getWrapped

public MalformedURLException getWrapped()
Get the wrapped MalformedURLException.

Returns:
The wrapped MalformedURLException.