net.sourceforge.wurfl.core.resource
Class WURFLResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sourceforge.wurfl.core.WURFLRuntimeException
                  extended by net.sourceforge.wurfl.core.resource.WURFLResourceException
All Implemented Interfaces:
Serializable

public class WURFLResourceException
extends WURFLRuntimeException

WURFLResource exception.

This exception is thrown whene there is a problem in WURFLResource.

Version:
$Id: WURFLResourceException.java 432 2010-05-06 12:12:53Z filippo.deluca $
Author:
Fantayeneh Asres Gizaw, Filippo De Luca
See Also:
Serialized Form

Constructor Summary
WURFLResourceException(WURFLResource resource)
          Build a WURFLResourceException by WURFLResource.
WURFLResourceException(WURFLResource resource, String message)
          Build a WURFLResourceException by WURFLResource.
WURFLResourceException(WURFLResource resource, String message, Throwable cause)
          Build a WURFLResourceException by WURFLResource.
WURFLResourceException(WURFLResource resource, Throwable cause)
          Build a WURFLResourceException by WURFLResource.
 
Method Summary
 WURFLResource getResource()
          Returns the WURFLResource sorce of this exception.
 
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

WURFLResourceException

public WURFLResourceException(WURFLResource resource)
Build a WURFLResourceException by WURFLResource.

Parameters:
resource - The WURFLResource generated this exception.

WURFLResourceException

public WURFLResourceException(WURFLResource resource,
                              Throwable cause)
Build a WURFLResourceException by WURFLResource.

Parameters:
resource - The WURFLResource generated this exception.
cause - The exception causes this exception.

WURFLResourceException

public WURFLResourceException(WURFLResource resource,
                              String message)
Build a WURFLResourceException by WURFLResource.

Parameters:
resource - The WURFLResource generated this exception.
message - The message to display.

WURFLResourceException

public WURFLResourceException(WURFLResource resource,
                              String message,
                              Throwable cause)
Build a WURFLResourceException by WURFLResource.

Parameters:
resource - The WURFLResource generated this exception.
message - The message to display.
cause - The exception causes this exception.
Method Detail

getResource

public WURFLResource getResource()
Returns the WURFLResource sorce of this exception.

Returns:
WURFLResource causes this exception.


Copyright © 2008-2010 WURFL-Pro srl. All Rights Reserved.