![]() |
![]() |
![]() |
Seed Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <seed/seed.h> typedef SeedException; void seed_make_exception (SeedContext ctx, SeedException exception, const gchar *name, const gchar *message, ...); gchar * seed_exception_get_name (SeedContext ctx, SeedException exception); gchar * seed_exception_get_message (SeedContext ctx, SeedException exception); guint seed_exception_get_line (SeedContext ctx, SeedException exception); gchar * seed_exception_get_file (SeedContext ctx, SeedException exception); gchar * seed_exception_to_string (SeedContext ctx, SeedException exception);
void seed_make_exception (SeedContext ctx, SeedException exception, const gchar *name, const gchar *message, ...);
Generates exception
with the name and description of error
.
|
A SeedContext. |
|
A reference to a SeedException in which to store the exception. |
|
|
|
|
|
gchar * seed_exception_get_name (SeedContext ctx, SeedException exception);
|
A SeedContext. |
|
A reference to a SeedException. |
Returns : |
A gchar* representing the name of exception .
|
gchar * seed_exception_get_message (SeedContext ctx, SeedException exception);
|
A SeedContext. |
|
A reference to a SeedException. |
Returns : |
A gchar* representing the detailed message of exception .
|
guint seed_exception_get_line (SeedContext ctx, SeedException exception);
|
A SeedContext. |
|
A reference to a SeedException. |
Returns : |
A guint representing the line number from which exception
was thrown.
|
gchar * seed_exception_get_file (SeedContext ctx, SeedException exception);
|
A SeedContext. |
|
A reference to a SeedException. |
Returns : |
A gchar* representing the name of the file from which
exception was thrown.
|
gchar * seed_exception_to_string (SeedContext ctx, SeedException exception);
|
A SeedContext. |
|
A reference to a SeedException. |
Returns : |
A gchar* representing the name, detailed message, line number,
and file name of exception .
|