Package com.portal.pcm
Class ApplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.portal.pcm.PortalException
com.portal.pcm.EBufException
com.portal.pcm.ApplicationException
- All Implemented Interfaces:
Serializable
Signals that a Portal Library exception has occurred.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationException
(int location, int error, int field, int recordID, int reserved, int line, String fileName, FList failData, int facility, int messageID, Date time, int version, FList args, EBufException chain, int reserved2) Constructs an instance ofApplicationException
-
Method Summary
Methods inherited from class com.portal.pcm.EBufException
getArgsFList, getDetailedErrorString, getDetailedHelpString, getError, getErrorString, getErrorTime, getFacility, getFacilityString, getField, getFieldString, getFileName, getLine, getLocation, getLocationString, getMessage, getMessageID, getNestedError, getOpcodeFList, getRecordID, getReserved, getReserved2, getVersion, log, log
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ApplicationException
public ApplicationException(int location, int error, int field, int recordID, int reserved, int line, String fileName, FList failData, int facility, int messageID, Date time, int version, FList args, EBufException chain, int reserved2) Constructs an instance ofApplicationException
- Parameters:
location
- The location where the exception occurred.error
- The error code associated with the exception.field
- An integer representing the field related to the exception.recordID
- An identifier for the record where the exception occurred.reserved
- An integer reserved for future use or specific purposes.line
- The line number where the exception occurred.fileName
- The name of the file where the exception occurred.failData
- AFList
containing additional failure data.facility
- An integer representing the facility related to the exception.messageID
- An identifier for the specific message or error type.time
- TheDate
when the exception occurred.version
- The version of the application or system where the exception occurred.args
- AFList
containing arguments related to the exception.chain
- AnEBufException
that may be chained with this exception for additional context.reserved2
- An additional integer reserved for future use or specific purposes.- Since:
- Infranet 5.5
-
-
Method Details
-
toString
Converts the error buffer information into a string. This string is for logging and debugging, so it doesn't need to be localized.- Overrides:
toString
in classEBufException
- Returns:
- The error buffer formatted as a string.
- Since:
- Infranet 5.5
-