Package com.saperion.ngc.exception
Enum SapViewerUrlException.SapViewerUrlExceptionCause
- java.lang.Object
-
- java.lang.Enum<SapViewerUrlException.SapViewerUrlExceptionCause>
-
- com.saperion.ngc.exception.SapViewerUrlException.SapViewerUrlExceptionCause
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SapViewerUrlException.SapViewerUrlExceptionCause>
- Enclosing class:
- SapViewerUrlException
public static enum SapViewerUrlException.SapViewerUrlExceptionCause extends java.lang.Enum<SapViewerUrlException.SapViewerUrlExceptionCause>
Causes of aSapViewerUrlException
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_DENIED
Access to the document was denied.INVALID_URL
The URL was invalid.NOT_FOUND
The referenced document was not found.SERVER_ERROR
A server-error occurred while loading the document.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SapViewerUrlException.SapViewerUrlExceptionCause
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SapViewerUrlException.SapViewerUrlExceptionCause[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCESS_DENIED
public static final SapViewerUrlException.SapViewerUrlExceptionCause ACCESS_DENIED
Access to the document was denied.
-
NOT_FOUND
public static final SapViewerUrlException.SapViewerUrlExceptionCause NOT_FOUND
The referenced document was not found.
-
SERVER_ERROR
public static final SapViewerUrlException.SapViewerUrlExceptionCause SERVER_ERROR
A server-error occurred while loading the document.
-
INVALID_URL
public static final SapViewerUrlException.SapViewerUrlExceptionCause INVALID_URL
The URL was invalid.
-
-
Method Detail
-
values
public static SapViewerUrlException.SapViewerUrlExceptionCause[] 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 (SapViewerUrlException.SapViewerUrlExceptionCause c : SapViewerUrlException.SapViewerUrlExceptionCause.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SapViewerUrlException.SapViewerUrlExceptionCause valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-