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 SummaryEnum Constants Enum Constant Description ACCESS_DENIEDAccess to the document was denied.INVALID_URLThe URL was invalid.NOT_FOUNDThe referenced document was not found.SERVER_ERRORA server-error occurred while loading the document.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static SapViewerUrlException.SapViewerUrlExceptionCausevalueOf(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_DENIEDpublic static final SapViewerUrlException.SapViewerUrlExceptionCause ACCESS_DENIED Access to the document was denied.
 - 
NOT_FOUNDpublic static final SapViewerUrlException.SapViewerUrlExceptionCause NOT_FOUND The referenced document was not found.
 - 
SERVER_ERRORpublic static final SapViewerUrlException.SapViewerUrlExceptionCause SERVER_ERROR A server-error occurred while loading the document.
 - 
INVALID_URLpublic static final SapViewerUrlException.SapViewerUrlExceptionCause INVALID_URL The URL was invalid.
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-