summaryrefslogtreecommitdiff
path: root/ext/intl/intl_error.h
diff options
context:
space:
mode:
authorDanack <Danack@basereality.com>2015-03-15 13:59:48 +0000
committerDanack <Danack@basereality.com>2015-03-15 13:59:48 +0000
commit99dae96dc0041f856ae066b3f572495da609d28e (patch)
treefa5dbd0d839b4973359273103bd2cbfb90a9288e /ext/intl/intl_error.h
parentc57bde7c9e2f4ac3e93f096eaa93d4ab0133915d (diff)
downloadphp-git-99dae96dc0041f856ae066b3f572495da609d28e.tar.gz
Converted intl extension to use IntlException in constructors.
Diffstat (limited to 'ext/intl/intl_error.h')
-rw-r--r--ext/intl/intl_error.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/intl/intl_error.h b/ext/intl/intl_error.h
index 02d62f0299..4c9349b281 100644
--- a/ext/intl/intl_error.h
+++ b/ext/intl/intl_error.h
@@ -36,15 +36,21 @@ void intl_error_init( intl_error* err );
void intl_error_reset( intl_error* err );
void intl_error_set_code( intl_error* err, UErrorCode err_code );
void intl_error_set_custom_msg( intl_error* err, char* msg, int copyMsg );
+void intl_error_set_custom_msg_ex( intl_error* err, char* msg, int copyMsg, int forceException );
void intl_error_set( intl_error* err, UErrorCode code, char* msg, int copyMsg );
+void intl_error_set_ex( intl_error* err, UErrorCode code, char* msg, int copyMsg, int forceException );
+
+
UErrorCode intl_error_get_code( intl_error* err );
zend_string* intl_error_get_message( intl_error* err );
// Wrappers to synchonize object's and global error structures.
void intl_errors_reset( intl_error* err );
void intl_errors_set_custom_msg( intl_error* err, char* msg, int copyMsg );
+void intl_errors_set_custom_msg_ex( intl_error* err, char* msg, int copyMsg, int forceException );
void intl_errors_set_code( intl_error* err, UErrorCode err_code );
void intl_errors_set( intl_error* err, UErrorCode code, char* msg, int copyMsg );
+void intl_errors_set_ex( intl_error* err, UErrorCode code, char* msg, int copyMsg, int forceException );
// Other error helpers
smart_str intl_parse_error_to_string( UParseError* pe );