|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaErrors
All error-related constants.
Field Summary | |
---|---|
static short |
ERROR_ABSTRACT_CLASS Cannot instantiate abstract class. |
static short |
ERROR_AMBIGUOUS_IMPORT Ambiguous import. |
static short |
ERROR_AMBIGUOUS_REF Ambiguous reference. |
static short |
ERROR_ASSERT_IDENTIFIER 'assert' used as an identifier. |
static short |
ERROR_base Begin errors. |
static short |
ERROR_BREAK_OUTSIDE_SWITCH_OR_LOOP Error: break outside of loop |
static short |
ERROR_CANCELLED Compilation cancelled. |
static short |
ERROR_CANT_ASSIGN Cannot assign value of type {0} to variable of type {1}. |
static short |
ERROR_CANT_EXTEND_ENUM Classes may not extend an enumeration type. |
static short |
ERROR_CANT_EXTEND_FINAL Cannot extend or override a final declaration. |
static short |
ERROR_CANT_EXTEND_INTERFACE Classes may not extend an interface type. |
static short |
ERROR_CANT_IMPLEMENT_CLASS Interface may not extend a non-interface type. |
static short |
ERROR_CANT_TYPECAST Cannot cast value of type {0} to variable of type {1}. |
static int |
ERROR_CATEGORY_ALL All error categories. |
static int |
ERROR_CATEGORY_COMPILE Compilation/resolution errors (warnings, etc). |
static int |
ERROR_CATEGORY_PARSE Parse errors (warnings, etc). |
static int |
ERROR_CATEGORY_SCAN Scan errors (warnings, etc). |
static int |
ERROR_CATEGORY_unclassified Unclassified errors (warnings, etc). |
static short |
ERROR_CHECK_EXCEPTION Unchecked exception: {0} must be caught or declared to be thrown. |
static short |
ERROR_CLASS_CIRCULARITY Class circularity error. |
static short |
ERROR_COMPILE_base |
static short |
ERROR_COMPILE_GENERIC Generic compiler error. |
static short |
ERROR_COMPILE_max |
static short |
ERROR_CONSTRUCTOR_NAME Constructor must be named the same as a class. |
static short |
ERROR_CONTINUE_OUTSIDE_OF_LOOP Error: continue outside of loop |
static short |
ERROR_DUPLICATE Duplicate definition of {0}. |
static short |
ERROR_EMPTY_CHAR_LITERAL Empty character literal. |
static short |
ERROR_EMPTY_EXPRESSION Empty expression. |
static short |
ERROR_EXPECTING_ONE Expecting {0}. |
static short |
ERROR_EXPECTING_TWO Expecting {0} or {1}. |
static short |
ERROR_EXPECTING_TYPE Error: Expecting a type |
static short |
ERROR_EXTENDS_NOT_ALLOWED {0} does not allow 'extends'. |
static short |
ERROR_EXTENDS_TOO_MANY Classes may only extend one class. |
static short |
ERROR_FORWARD_REFERENCE Illegal forward reference. |
static short |
ERROR_ILLEGAL_ANNOTATION May only annotate declarations. |
static short |
ERROR_ILLEGAL_DEFAULT Only annotation types may have default method return values. |
static short |
ERROR_ILLEGAL_LABEL May only label blocks and loop statements. |
static short |
ERROR_ILLEGAL_START_OF_EXPR Illegal start of expression. |
static short |
ERROR_ILLEGAL_TYPE_PARAMETERS Type parameters are not allowed here. |
static short |
ERROR_ILLEGAL_VARARGS Variable arguments only allowed on the last parameter. |
static short |
ERROR_IMPLEMENTS_NOT_ALLOWED {0} does not allow 'implements'. |
static short |
ERROR_IMPORT_NOT_FOUND Import {0} not found. |
static short |
ERROR_INTERNAL Generic internal error. |
static short |
ERROR_INVALID_CHAR_LITERAL Invalid character literal: must be a single character. |
static short |
ERROR_INVALID_ESCAPE_SEQUENCE Invalid escape sequence. |
static short |
ERROR_INVALID_EXPR_STMT Not a valid expression statement. |
static short |
ERROR_INVALID_NAME Invalid identifier/name. |
static short |
ERROR_INVALID_OPERATION Operation not allowed on {0}. |
static short |
ERROR_INVALID_STRING_LITERAL Invalid string literal. |
static short |
ERROR_INVALID_SUPERTYPE Cannot extend or implement type {0}. |
static java.lang.String[] |
ERROR_keys Auto-generated from the above list. |
static short |
ERROR_LONE_CATCH 'catch' without a 'try'. |
static short |
ERROR_LONE_ELSE 'else' without an 'if'. |
static short |
ERROR_LONE_FINALLY 'finally' without a 'try'. |
static short |
ERROR_LONE_TRY 'try' with neither 'catch' nor 'finally'. |
static short |
ERROR_max |
static short |
ERROR_MEMBER_NOT_FOUND Member {0} not found in {1}. |
static short |
ERROR_METHOD_NOT_FOUND Method {0} not found on {1}. |
static short |
ERROR_MISSING_CASE_OR_DEFAULT_LABEL Error: missing case or default label |
static short |
ERROR_MISSING_CONDITION Missing conditional expression. |
static short |
ERROR_MISSING_METHOD_BODY Missing method body, or declare as abstract. |
static short |
ERROR_MODIFIER_REPEATED Modifier was repeated. |
static short |
ERROR_MULTIPLE_COMPONENTS May not use single-element syntax with multiple elements. |
static short |
ERROR_NAME_NOT_FOUND Name {0} not found. |
static short |
ERROR_none |
static short |
ERROR_NOT_ACCESSIBLE Access not allowed to {0}. |
static short |
ERROR_NOT_ANNOTATION_TYPE {0} is not an annotation type. |
static short |
ERROR_NOT_ASSIGNABLE {0} is not assignable. |
static short |
ERROR_NOT_GENERIC_TYPE {0} is not a generic type. |
static short |
ERROR_NOT_IMPLEMENTED_YET Not implemented yet. |
static short |
ERROR_NOT_THROWABLE {0} is not a subtype of java/lang/Throwable. |
static short |
ERROR_NUMBER_FORMAT Number format error. |
static short |
ERROR_NUMERIC_OVERFLOW Numeric overflow. |
static short |
ERROR_NUMERIC_UNDERFLOW Numeric underflow. |
static short |
ERROR_ONLY_STATIC_ACCESS Access to {0} not allowed from static context. |
static short |
ERROR_PARSE_base |
static short |
ERROR_PARSE_GENERIC Generic parser error. |
static short |
ERROR_PARSE_max |
static short |
ERROR_REQUIRE_ARRAY {0} is not an array type. |
static short |
ERROR_REQUIRE_BLOCK Requires block. |
static short |
ERROR_REQUIRE_FINAL {0} is not a final variable, cannot be accessed from an inner class. |
static short |
ERROR_REQUIRE_OBJECT A non-null reference object is required here. |
static short |
ERROR_REQUIRE_OUTER_CLASS Requires an enclosing instance of {0}. |
static short |
ERROR_SCAN_base |
static short |
ERROR_SCAN_GENERIC Generic scanner error. |
static short |
ERROR_SCAN_max |
static short |
ERROR_TYPE_ARGUMENT_MISMATCH Could not match type arguments on {0}. |
static short |
ERROR_TYPE_IS_NOT_AUTOCLOSEABLE Error: Type does not extend java.lang.AutoCloseable |
static short |
ERROR_TYPE_IS_NOT_DISJUNCTIVE Error: Type is not disjunctive |
static short |
ERROR_TYPE_NOT_ALLOWED A type reference is not allowed here. |
static short |
ERROR_TYPE_NOT_FOUND Type {0} not found. |
static short |
ERROR_UNEXPECTED Unexpected token {0}. |
static short |
ERROR_UNKNOWN Generic unknown error. |
static short |
ERROR_VOID_RETURN Cannot return a value from a void method. |
static short[] |
ERROR_warnings |
static java.lang.String[] |
ERROR_words Auto-generated from the above list and its javadoc. |
static int |
SEVERITY_ERROR An error that prevents compilation/execution. |
static int |
SEVERITY_FATAL An unrecoverable error. |
static int |
SEVERITY_LINT A possible error? |
static int |
SEVERITY_WARNING An error that does not prevent compilation/execution. |
static int |
SEVERITY_ZERO An increasing value indicates a worse severity. |
static short |
WARNING_AMBIGUOUS_DOC_REFERENCE Warning: Doc reference {0} is ambiguous. |
static short |
WARNING_ASSERT_IDENTIFIER Warning: 'assert' used as an identifier. |
static short |
WARNING_DOC_REFERENCE_NOT_FOUND Warning: Doc reference {0} not found. |
static short |
WARNING_IMPORT_UNUSED Warning: Import unused. |
static short |
WARNING_INVALID_NAME Warning: invalid name. |
static short |
WARNING_METHOD_NAME Warning: Method has the same name as the enclosing class. |
Field Detail |
---|
static final int SEVERITY_ZERO
static final int SEVERITY_LINT
static final int SEVERITY_WARNING
static final int SEVERITY_ERROR
static final int SEVERITY_FATAL
static final int ERROR_CATEGORY_unclassified
static final int ERROR_CATEGORY_SCAN
static final int ERROR_CATEGORY_PARSE
static final int ERROR_CATEGORY_COMPILE
static final int ERROR_CATEGORY_ALL
static final short ERROR_none
static final short ERROR_base
static final short ERROR_UNKNOWN
static final short ERROR_INTERNAL
static final short ERROR_NOT_IMPLEMENTED_YET
static final short ERROR_NUMBER_FORMAT
static final short ERROR_NUMERIC_OVERFLOW
static final short ERROR_NUMERIC_UNDERFLOW
static final short ERROR_SCAN_GENERIC
static final short ERROR_INVALID_STRING_LITERAL
static final short ERROR_CONSTRUCTOR_NAME
static final short ERROR_EMPTY_EXPRESSION
static final short ERROR_EXPECTING_ONE
static final short ERROR_EXPECTING_TWO
static final short ERROR_EXTENDS_NOT_ALLOWED
static final short ERROR_EXTENDS_TOO_MANY
static final short ERROR_ILLEGAL_LABEL
static final short ERROR_ILLEGAL_START_OF_EXPR
static final short ERROR_IMPLEMENTS_NOT_ALLOWED
static final short ERROR_LONE_CATCH
static final short ERROR_LONE_ELSE
static final short ERROR_LONE_FINALLY
static final short ERROR_LONE_TRY
static final short ERROR_MISSING_CONDITION
static final short ERROR_MODIFIER_REPEATED
static final short ERROR_PARSE_GENERIC
static final short ERROR_REQUIRE_BLOCK
static final short ERROR_UNEXPECTED
static final short WARNING_METHOD_NAME
static final short ERROR_ASSERT_IDENTIFIER
static final short WARNING_ASSERT_IDENTIFIER
static final short ERROR_ILLEGAL_ANNOTATION
static final short ERROR_ILLEGAL_VARARGS
static final short ERROR_ILLEGAL_DEFAULT
static final short ERROR_ILLEGAL_TYPE_PARAMETERS
static final short ERROR_EXPECTING_TYPE
static final short ERROR_ABSTRACT_CLASS
static final short ERROR_AMBIGUOUS_IMPORT
static final short ERROR_AMBIGUOUS_REF
static final short ERROR_CANCELLED
static final short ERROR_CANT_ASSIGN
static final short ERROR_CANT_EXTEND_ENUM
static final short ERROR_CANT_EXTEND_FINAL
static final short ERROR_CANT_EXTEND_INTERFACE
static final short ERROR_CANT_IMPLEMENT_CLASS
static final short ERROR_CANT_TYPECAST
static final short ERROR_CHECK_EXCEPTION
static final short ERROR_CLASS_CIRCULARITY
static final short ERROR_COMPILE_GENERIC
static final short ERROR_DUPLICATE
static final short ERROR_FORWARD_REFERENCE
static final short ERROR_IMPORT_NOT_FOUND
static final short ERROR_INVALID_EXPR_STMT
static final short ERROR_INVALID_NAME
static final short ERROR_INVALID_OPERATION
static final short ERROR_INVALID_SUPERTYPE
static final short ERROR_MEMBER_NOT_FOUND
static final short ERROR_METHOD_NOT_FOUND
On a method call, the error symbol will be the SourceName, if present. On a class creator, the error symbol will be the SourceTypeReference, if present. Otherwise, the error symbol will be the method call or class creator itself. In all cases, the client can expect that either the error symbol or its parent is a SourceInvokeExpression.
For methods with an implicit lhs, the most enclosing class (if any) is provided as the classScope argument.
static final short ERROR_MULTIPLE_COMPONENTS
static final short ERROR_NAME_NOT_FOUND
static final short ERROR_NOT_ACCESSIBLE
static final short ERROR_NOT_ANNOTATION_TYPE
static final short ERROR_NOT_ASSIGNABLE
static final short ERROR_NOT_GENERIC_TYPE
static final short ERROR_NOT_THROWABLE
static final short ERROR_ONLY_STATIC_ACCESS
static final short ERROR_REQUIRE_ARRAY
static final short ERROR_REQUIRE_FINAL
static final short ERROR_REQUIRE_OBJECT
static final short ERROR_REQUIRE_OUTER_CLASS
static final short ERROR_TYPE_ARGUMENT_MISMATCH
static final short ERROR_TYPE_NOT_ALLOWED
static final short ERROR_TYPE_NOT_FOUND
static final short ERROR_VOID_RETURN
static final short WARNING_IMPORT_UNUSED
static final short WARNING_DOC_REFERENCE_NOT_FOUND
static final short WARNING_AMBIGUOUS_DOC_REFERENCE
static final short ERROR_MISSING_METHOD_BODY
static final short ERROR_EMPTY_CHAR_LITERAL
static final short ERROR_INVALID_CHAR_LITERAL
static final short ERROR_INVALID_ESCAPE_SEQUENCE
static final short WARNING_INVALID_NAME
static final short ERROR_BREAK_OUTSIDE_SWITCH_OR_LOOP
static final short ERROR_CONTINUE_OUTSIDE_OF_LOOP
static final short ERROR_MISSING_CASE_OR_DEFAULT_LABEL
static final short ERROR_TYPE_IS_NOT_DISJUNCTIVE
static final short ERROR_TYPE_IS_NOT_AUTOCLOSEABLE
static final short ERROR_max
static final short ERROR_SCAN_base
static final short ERROR_SCAN_max
static final short ERROR_PARSE_base
static final short ERROR_PARSE_max
static final short ERROR_COMPILE_base
static final short ERROR_COMPILE_max
static final java.lang.String[] ERROR_keys
static final java.lang.String[] ERROR_words
static final short[] ERROR_warnings
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |