net.sourceforge.wurfl.core
Class GroupNotDefinedException

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.GroupNotDefinedException
All Implemented Interfaces:
Serializable

public class GroupNotDefinedException
extends WURFLRuntimeException

Exception thrown if the group requested is not defined in WURFL.

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

Constructor Summary
GroupNotDefinedException(String groupId)
          This constructor build this Exception by the not defined group identifier.
GroupNotDefinedException(String groupId, String message)
          This constructor build this Exception by the not defined group identifier and message to display.
 
Method Summary
 String getGroupId()
          Return the identifier of group object 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

GroupNotDefinedException

public GroupNotDefinedException(String groupId,
                                String message)
This constructor build this Exception by the not defined group identifier and message to display.

Parameters:
The - identifier of not defined group.
message - The message to display.

GroupNotDefinedException

public GroupNotDefinedException(String groupId)
This constructor build this Exception by the not defined group identifier.

Parameters:
The - identifier of not defined group.
Method Detail

getGroupId

public String getGroupId()
Return the identifier of group object of this exception.

Returns:


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