Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ASGetExceptionErrorCode ACGetExceptionErrorCode
File: CorCalls.h |
Line: 357 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define DURING DURING usage must be compiled with C++
File: CorCalls.h |
Line: 238 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define END_HANDLER END_HANDLER usage must be compiled with C++
File: CorCalls.h |
Line: 240 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ERRORCODE (ACGetExceptionErrorCode())
DescriptionA macro defined to call ASGetExceptionErrorCode(). It returns an ASInt32 object containing an exception error code.
See Also
File: CorCalls.h |
Line: 300 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define HANDLER HANDLER usage must be compiled with C++
File: CorCalls.h |
Line: 239 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
An error code value for use in ASFile
and ASFileSys
methods and callbacks. Introduced in Acrobat 6.0.
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
void (*restoreEnvironProc)(void *asEnviron)
Environment-restoration functions are called when an exception is raised.
File: CoreExpT.h |
Line: 207 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Gets a string describing the specified error/exception.
Parameters
| errorCode — | The exception whose error string is obtained. This must be a full error code, built with the ErrBuildCode() macro or a user-defined exception returned from ASRegisterErrorString(). See Errors for a list of predefined exceptions. |
|
| buffer — | (Filled by the method) A buffer into which the string is written. Make sure to memset the buffer to 0 before calling ASGetErrorString(). |
|
| lenBuffer — | The number of characters that buffer can hold. |
Returns
| A useful pointer to buffer . This does not mean that the function worked. You must call strlen on the returned buffer (as long as you memset the buffer to 0 ) to determine whether the error code was valid. |
See Also
Since
File: ASProcs.h |
Line: 138 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Gets an ASText object containing a string describing the specified exception.
Parameters
| errorCode — | The exception whose error string is obtained. This must be a full error code, built with the ErrBuildCode macro or a user-defined exception returned from ASRegisterErrorString(). See Error Systems for a list of predefined exceptions. |
|
| errorString — | (Filled by the method) The text object containing the error string. The client must pass a valid ASText object. The routine does not allocate it. |
See Also
Since
File: ASProcs.h |
Line: 2792 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Raises an exception. Plug-ins can raise any exception defined in the AcroErr.h header file using the ErrBuildCode
macro, or can define their own exceptions using ASRegisterErrorString(). See Errors for a list of predefined exceptions.
If the code that calls ASRaise() gets control as a result of a non-Acrobat event (such as a drag and drop event on some platforms), this method fails since there is no Acrobat viewer code in the stack to handle the exception.
Parameters
| error — | An error code for the exception to raise. Error codes have three parts: severity, system, and error number. Use ErrBuildCode to build an error code for an existing error. |
See Also
Since
File: CorProcs.h |
Line: 51 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Registers a new error and string. The error can be used to raise a plug-in-specific exception using ASRaise(). When the exception is raised, its error string can be retrieved using ASGetErrorString() and reported to the user using AVAlertNote().
The error system is automatically forced to be ErrSysXtn. (See the list of Error Systems).
The error is automatically assigned an error code that is not used by any other plug-in (in the current implementation, the Acrobat viewer increments a counter each time any plug-in requests an error code, and returns the value of the counter). As a result, plug-ins cannot rely on being assigned the same error code each time the Acrobat viewer is launched.
Parameters
Returns
| The newly created error code. Plug-ins should assign the error code returned by this method to a variable if they will use the error code later in the current session. |
See Also
Since
File: ASProcs.h |
Line: 172 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Registers a new error and string.
Parameters
| severity — | The severity of the error being defined. It must be one of the Error Severities. |
|
| errorString — | The text object containing the error string to be set. |
Returns
| The newly created error code. Plug-ins should assign the error code returned by this method to a variable if they wish to use the error code later in the current session. |
See Also
Since
File: ASProcs.h |
Line: 2811 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
void ACCB2 RestorePlugInFrame(void* environ) |
Parameters
Returns
File: CorCalls.h |
Line: 184 |
Copyright 2020 Adobe Systems Incorporated and its licensors. All rights reserved. Adobe and the Adobe logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. This product contains either BSAFE and/or TIPEM software by RSA Security, Inc. Portions utilize Microsoft Windows Media Technologies. Copyright © 2006 Microsoft Corporation. All Rights Reserved. Notices, terms and conditions pertaining to other third party software are located at http://www.adobe.com/go/thirdparty/ and incorporated herein by reference.
Wed Feb 7 2024, 2:16 pm IST