Package oracle.dbtools.plugin.api.errors
Class ProductErrorMessage
java.lang.Object
oracle.dbtools.plugin.api.errors.ProductErrorMessage
Describes a standard Oracle Error Message which must be of the form:
PREFIX-nnnnn [PROBLEM] Cause: [CAUSE] Action: [ACTION]
- The prefix must be a alphabetic string identifying the product from which the error originates
- The code must be a 5 digit zero padded integer, each error condition must have a unique code
- Each error message must have a localizable description of the problem
- Each error message must have a localizable description of the cause of the problem
- Each error message must have a localizable description of how to fix the problem
- Author:
- cdivilly
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the unique identifier for aProductErrorMessage -
Method Summary
-
Method Details
-
action
Describes how to fix the problem- Returns:
Translatableinstance
-
cause
Describes the cause of the problem- Returns:
Translatableinstance
-
equals
-
id
Provides the unique error code- Returns:
-
hashCode
public int hashCode() -
message
Description of the error condition- Returns:
Translatableinstance
-
toString
-