Enum SendException.AntattSkyldig
- java.lang.Object
-
- java.lang.Enum<SendException.AntattSkyldig>
-
- no.difi.sdp.client2.domain.exceptions.SendException.AntattSkyldig
-
- All Implemented Interfaces:
Serializable,Comparable<SendException.AntattSkyldig>
- Enclosing class:
- SendException
public static enum SendException.AntattSkyldig extends Enum<SendException.AntattSkyldig>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SendException.AntattSkyldigfraHttpStatusCode(int statusKode)static SendException.AntattSkyldigvalueOf(String name)Returns the enum constant of this type with the specified name.static SendException.AntattSkyldig[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KLIENT
public static final SendException.AntattSkyldig KLIENT
Feilen er trolig forårsaket av en feil i klienten eller klientoppsettet.Å forsøke samme forespørsel igjen vil sannsynligvis ikke gjøre noe med situasjonen.
-
SERVER
public static final SendException.AntattSkyldig SERVER
Feilen er trolig forårsaket av en feil i meldingsformidleren.Det kan fungere å prøve forespørselen igjen senere.
-
UKJENT
public static final SendException.AntattSkyldig UKJENT
Uvisst om feilen er forårsaket av klienten eller meldingsformidleren.
-
-
Method Detail
-
values
public static SendException.AntattSkyldig[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SendException.AntattSkyldig c : SendException.AntattSkyldig.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SendException.AntattSkyldig valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fraHttpStatusCode
public static SendException.AntattSkyldig fraHttpStatusCode(int statusKode)
-
-