net.sourceforge.wurfl.core.resource.exc
Class GroupConsistencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sourceforge.wurfl.core.exc.WURFLRuntimeException
net.sourceforge.wurfl.core.resource.exc.WURFLConsistencyException
net.sourceforge.wurfl.core.resource.exc.DeviceConsistencyException
net.sourceforge.wurfl.core.resource.exc.GroupConsistencyException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- InexistentGroupException
public abstract class GroupConsistencyException
- extends DeviceConsistencyException
Generic group consistency exception.
This abstract Exception is thrown when a ModelDevice has a bad group
definition.
- Version:
- $Id: GroupConsistencyException.java 934 2012-03-27 13:34:26Z fulvio.crivellaro $
- See Also:
- Serialized Form
|
Method Summary |
String |
getGroup()
Return the group object of this exception. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
GroupConsistencyException
public GroupConsistencyException(ModelDevice device,
String group)
- Build this Exception by Group identifier and source device.
- Parameters:
device - The ModelDevice having bad group definition.group - The group object of this Exception.
GroupConsistencyException
public GroupConsistencyException(ModelDevice device,
String group,
String message)
- Build this Exception by Group identifier, source device and message.
- Parameters:
device - The ModelDevice having bad group definition.group - The group object of this Exception.message - The message displaying by this exception.
getGroup
public String getGroup()
- Return the group object of this exception.
- Returns:
- Identifier of group object of this instance.
Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.