|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sourceforge.wurfl.core.WURFLRuntimeException
net.sourceforge.wurfl.core.CapabilityNotDefinedException
public class CapabilityNotDefinedException
The capability x is not defined in WURFL.
This is a Exception thrown if the requested capability is not defined in WURFL. Generally it mean the capability name is not right. THis Exception is unchecked because it is a unrecoverable exception for the client.
| Constructor Summary | |
|---|---|
CapabilityNotDefinedException(String capabilityName)
Build a CapabilityNotDefinedException by the name of capability not defined. |
|
CapabilityNotDefinedException(String capabilityName,
String message)
Build a CapabilityNotDefinedException by the name of capability not defined. |
|
| Method Summary | |
|---|---|
String |
getCapabilityName()
Return the not defined capability name. |
| 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 |
|---|
public CapabilityNotDefinedException(String capabilityName)
capabilityName - The name of capability not defined.
public CapabilityNotDefinedException(String capabilityName,
String message)
capabilityName - The name of capability not defined.message - The message to display.| Method Detail |
|---|
public String getCapabilityName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||