org.apertereports.common
Enum ARConstants.ErrorCode

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

public static enum ARConstants.ErrorCode
extends Enum<ARConstants.ErrorCode>

Report generation error codes.


Enum Constant Summary
DRILLDOWN_NOT_FOUND
           
DRILLDOWN_REPORT_NOT_FOUND
           
EMAIL_SESSION_NOT_FOUND
           
EMPTY_REPORT_SOURCE
           
FONT_NOT_FOUND
          Font not found
INVALID_DATASOURCE_TYPE
           
INVALID_EXPORTER_PARAMETER
           
INVALID_REPORT_TYPE
          Invalid report type
JASPER_REPORTS_EXCEPTION
           
JMS_UNAVAILABLE
           
REPORT_ACCESS_DENIED
          Access denied to the report
REPORT_SOURCE_EXCEPTION
           
REPORT_TEMPLATE_NOT_FOUND
          Report template not found
SERIALIZATION_EXCEPTION
           
SUBREPORT_NOT_FOUND
           
UNKNOWN
          Unknown error
UNKNOWN_PROPERTY_NAME
           
UNSUPPORTED_ENCODING
           
 
Method Summary
static ARConstants.ErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ARConstants.ErrorCode[] 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

DRILLDOWN_NOT_FOUND

public static final ARConstants.ErrorCode DRILLDOWN_NOT_FOUND

DRILLDOWN_REPORT_NOT_FOUND

public static final ARConstants.ErrorCode DRILLDOWN_REPORT_NOT_FOUND

EMAIL_SESSION_NOT_FOUND

public static final ARConstants.ErrorCode EMAIL_SESSION_NOT_FOUND

EMPTY_REPORT_SOURCE

public static final ARConstants.ErrorCode EMPTY_REPORT_SOURCE

FONT_NOT_FOUND

public static final ARConstants.ErrorCode FONT_NOT_FOUND
Font not found


INVALID_DATASOURCE_TYPE

public static final ARConstants.ErrorCode INVALID_DATASOURCE_TYPE

INVALID_EXPORTER_PARAMETER

public static final ARConstants.ErrorCode INVALID_EXPORTER_PARAMETER

INVALID_REPORT_TYPE

public static final ARConstants.ErrorCode INVALID_REPORT_TYPE
Invalid report type


JASPER_REPORTS_EXCEPTION

public static final ARConstants.ErrorCode JASPER_REPORTS_EXCEPTION

JMS_UNAVAILABLE

public static final ARConstants.ErrorCode JMS_UNAVAILABLE

REPORT_ACCESS_DENIED

public static final ARConstants.ErrorCode REPORT_ACCESS_DENIED
Access denied to the report


REPORT_SOURCE_EXCEPTION

public static final ARConstants.ErrorCode REPORT_SOURCE_EXCEPTION

REPORT_TEMPLATE_NOT_FOUND

public static final ARConstants.ErrorCode REPORT_TEMPLATE_NOT_FOUND
Report template not found


SERIALIZATION_EXCEPTION

public static final ARConstants.ErrorCode SERIALIZATION_EXCEPTION

SUBREPORT_NOT_FOUND

public static final ARConstants.ErrorCode SUBREPORT_NOT_FOUND

UNKNOWN

public static final ARConstants.ErrorCode UNKNOWN
Unknown error


UNSUPPORTED_ENCODING

public static final ARConstants.ErrorCode UNSUPPORTED_ENCODING

UNKNOWN_PROPERTY_NAME

public static final ARConstants.ErrorCode UNKNOWN_PROPERTY_NAME
Method Detail

values

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

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

valueOf

public static ARConstants.ErrorCode 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-2013. All Rights Reserved.