Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.ojc.interfaces
Class ErrorInfo

java.lang.Object
  extended by oracle.ojc.interfaces.ErrorInfo

public class ErrorInfo
extends java.lang.Object

The ErrorInfo class encapsulates error and warning related information such as number, message, and helpUrl.


Constructor Summary
ErrorInfo(int number, java.lang.String msg)
          Constructs an object from number and message
ErrorInfo(int number, java.lang.String msg, java.lang.String url)
          Constructs an object from number, message and help Url
ErrorInfo(int number, java.lang.String msg, java.lang.String url, boolean localize)
          Constructs an object from number, message, help Url, and localize hint
 
Method Summary
 java.lang.String getHelpContext()
          Returns the help context associated with the error or warning
 java.lang.String getMessage()
          Returns the message associated with the error or warning
 int getNumber()
          Returns the number associated with the error or warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorInfo

public ErrorInfo(int number,
                 java.lang.String msg)
Constructs an object from number and message

Parameters:
number - The error or warning number
msg - The message associated with the error or warning

ErrorInfo

public ErrorInfo(int number,
                 java.lang.String msg,
                 java.lang.String url)
Constructs an object from number, message and help Url

Parameters:
number - The error or warning number
msg - The message associated with the error or warning
url - The help Url associated with the error or warning

ErrorInfo

public ErrorInfo(int number,
                 java.lang.String msg,
                 java.lang.String url,
                 boolean localize)
Constructs an object from number, message, help Url, and localize hint

Parameters:
number - The error or warning number
msg - The message associated with the error or warning
url - The help Url associated with the error or warning
localize - Indicates if localization should occur ( this is presently ignored )
Method Detail

getNumber

public int getNumber()
Returns the number associated with the error or warning

Returns:
The error or warning number

getMessage

public java.lang.String getMessage()
Returns the message associated with the error or warning

Returns:
The error or warning message

getHelpContext

public java.lang.String getHelpContext()
Returns the help context associated with the error or warning

Returns:
The error or warning help context

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.