public static enum LinkTargetException.Reason extends Enum<LinkTargetException.Reason>
| Enum Constant and Description |
|---|
EMPTY_TARGET |
INVALID_ENTITIES |
IW_IW_LINK |
NO_ARTICLE_TITLE |
ONLY_NAMESPACE |
TALK_NS_IW_LINK |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
static LinkTargetException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkTargetException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkTargetException.Reason EMPTY_TARGET
public static final LinkTargetException.Reason INVALID_ENTITIES
public static final LinkTargetException.Reason ONLY_NAMESPACE
public static final LinkTargetException.Reason NO_ARTICLE_TITLE
public static final LinkTargetException.Reason IW_IW_LINK
public static final LinkTargetException.Reason TALK_NS_IW_LINK
public static LinkTargetException.Reason[] values()
for (LinkTargetException.Reason c : LinkTargetException.Reason.values()) System.out.println(c);
public static LinkTargetException.Reason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDescription()
Copyright © 2010–2017 University of Erlangen-Nürnberg - Open Source Research Group. All rights reserved.