org.apertereports.common
Enum ReportConstants.ErrorCodes

java.lang.Object
  extended by java.lang.Enum<ReportConstants.ErrorCodes>
      extended by org.apertereports.common.ReportConstants.ErrorCodes
All Implemented Interfaces:
Serializable, Comparable<ReportConstants.ErrorCodes>
Enclosing interface:
ReportConstants

public static enum ReportConstants.ErrorCodes
extends Enum<ReportConstants.ErrorCodes>

Report generation error codes.


Enum Constant Summary
DRILLDOWN_NOT_FOUND
           
DRILLDOWN_REPORT_NOT_FOUND
           
DUPLICATE_REPORT_NAME
           
EMAIL_SESSION_NOT_FOUND
           
EMPTY_REPORT_SOURCE
           
INVALID_DATASOURCE_TYPE
           
INVALID_EXPORTER_PARAMETER
           
INVALID_REPORT_TYPE
           
JASPER_REPORTS_EXCEPTION
           
JMS_UNAVAILABLE
           
REPORT_SOURCE_EXCEPTION
           
SERIALIZATION_EXCEPTION
           
SUBREPORT_NOT_FOUND
           
TECHNICAL_ERROR
           
UNKNOWN_PROPERTY_NAME
           
UNSUPPORTED_ENCODING
           
 
Method Summary
static ReportConstants.ErrorCodes valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReportConstants.ErrorCodes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INVALID_REPORT_TYPE

public static final ReportConstants.ErrorCodes INVALID_REPORT_TYPE

JASPER_REPORTS_EXCEPTION

public static final ReportConstants.ErrorCodes JASPER_REPORTS_EXCEPTION

INVALID_EXPORTER_PARAMETER

public static final ReportConstants.ErrorCodes INVALID_EXPORTER_PARAMETER

REPORT_SOURCE_EXCEPTION

public static final ReportConstants.ErrorCodes REPORT_SOURCE_EXCEPTION

SERIALIZATION_EXCEPTION

public static final ReportConstants.ErrorCodes SERIALIZATION_EXCEPTION

TECHNICAL_ERROR

public static final ReportConstants.ErrorCodes TECHNICAL_ERROR

INVALID_DATASOURCE_TYPE

public static final ReportConstants.ErrorCodes INVALID_DATASOURCE_TYPE

UNKNOWN_PROPERTY_NAME

public static final ReportConstants.ErrorCodes UNKNOWN_PROPERTY_NAME

UNSUPPORTED_ENCODING

public static final ReportConstants.ErrorCodes UNSUPPORTED_ENCODING

SUBREPORT_NOT_FOUND

public static final ReportConstants.ErrorCodes SUBREPORT_NOT_FOUND

EMPTY_REPORT_SOURCE

public static final ReportConstants.ErrorCodes EMPTY_REPORT_SOURCE

DUPLICATE_REPORT_NAME

public static final ReportConstants.ErrorCodes DUPLICATE_REPORT_NAME

EMAIL_SESSION_NOT_FOUND

public static final ReportConstants.ErrorCodes EMAIL_SESSION_NOT_FOUND

DRILLDOWN_NOT_FOUND

public static final ReportConstants.ErrorCodes DRILLDOWN_NOT_FOUND

DRILLDOWN_REPORT_NOT_FOUND

public static final ReportConstants.ErrorCodes DRILLDOWN_REPORT_NOT_FOUND

JMS_UNAVAILABLE

public static final ReportConstants.ErrorCodes JMS_UNAVAILABLE
Method Detail

values

public static ReportConstants.ErrorCodes[] 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 (ReportConstants.ErrorCodes c : ReportConstants.ErrorCodes.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ReportConstants.ErrorCodes 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 name
NullPointerException - if the argument is null


Copyright © 2011-2012. All Rights Reserved.