WizardsToolkit  1.0.7
exception-private.h File Reference
#include "wizard/log.h"
#include "wizard/string_.h"
Include dependency graph for exception-private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CatchWizardException(severity, tag, context)
#define WizardAssert(domain, predicate)
#define ThrowFileException(exception, severity, context)
#define ThrowWizardFatalError(domain, error)
#define ThrowFatalException(severity, tag)

Define Documentation

#define CatchWizardException (   severity,
  tag,
  context 
)
Value:
{ \
  ExceptionInfo \
    *exception; \
 \
  exception=AcquireExceptionInfo(); \
  (void) ThrowWizardException(exception,GetWizardModule(),severity,tag,context); \
  CatchException(exception); \
  exception=DestroyExceptionInfo(exception); \
}

Definition at line 28 of file exception-private.h.

#define ThrowFileException (   exception,
  severity,
  context 
)
Value:
{ \
  char \
     *message; \
 \
  message=GetExceptionMessage(errno); \
  (void) ThrowWizardException(exception,GetWizardModule(),severity, \
    "file exception `%s': %s",context,message); \
  message=DestroyString(message); \
}

Definition at line 52 of file exception-private.h.

Referenced by LoadConfigureLists(), PrintKeyringProperties(), and LoadLogLists().

#define ThrowWizardFatalError (   domain,
  error 
)
#define WizardAssert (   domain,
  predicate 
)
Value:
{ \
  if ((WizardBooleanType) (predicate) == WizardFalse) \
    ThrowWizardFatalError(domain,AssertError); \
}

Definition at line 45 of file exception-private.h.

Referenced by DestroyAESInfo(), GetAESBlocksize(), SetAESKey(), AuthenticateKey(), DestroyAuthenticateInfo(), GenerateAuthenticateKey(), GetAuthenticateId(), GetAuthenticateKey(), GetAuthenticateKeyLength(), GetAuthenticatePassphrase(), SetAuthenticateId(), SetAuthenticateKeyLength(), SetAuthenticatePassphrase(), DestroyBZIPInfo(), GetBZIPChaos(), IncreaseBZIP(), RestoreBZIP(), DecipherCBCMode(), DecipherCFBMode(), DecipherCipher(), DecipherCTRMode(), DecipherECBMode(), DecipherOFBMode(), DestroyCipherInfo(), EncipherCBCMode(), EncipherCFBMode(), EncipherCipher(), EncipherCTRMode(), EncipherECBMode(), EncipherOFBMode(), GetCipherBlocksize(), GenerateCipherNonce(), GetCipherNonce(), ResetCipherNonce(), SetCipherNonce(), SetCipherKey(), GetCRC64Blocksize(), GetCRC64CyclicRedundancyCheck(), GetCRC64Digest(), GetCRC64Digestsize(), DestroyEntropyInfo(), GetEntropyChaos(), IncreaseEntropy(), RestoreEntropy(), GetHashBlocksize(), GetHashDigest(), GetHashDigestsize(), GetHashHexDigest(), GetHMACDigest(), GetHMACDigestsize(), DestroyKeyInfo(), GenerateSessionKey(), GetKeyInfo(), SetKeyInfo(), DestroyKeyringInfo(), ExportKeyringKey(), GetKeyringKey(), GetKeyringNonce(), ImportKeyringKey(), PrintKeyringProperties(), SetKeyringId(), SetKeyringKey(), SetKeyringNonce(), SetKeyringPath(), GetLZMAChaos(), DestroyLZMAInfo(), IncreaseLZMA(), RestoreLZMA(), GetMD5Blocksize(), GetMD5Digest(), GetMD5Digestsize(), DestroyRandomInfo(), GetEntropyFromReservoir(), GetRandomKey(), SaveEntropyToReservoir(), SetRandomKey(), AcquireUniqueFileResource(), RelinquishUniqueFileResource(), AuthenticateSecretKey(), DestroySecretInfo(), GenerateSecretKey(), GetSecretId(), GetSecretKey(), GetSecretKeyLength(), GetSecretPassphrase(), SetSecretKeyLength(), DestroySerpentInfo(), GetSerpentBlocksize(), SetSerpentKey(), GetSHA1Blocksize(), GetSHA1Digest(), GetSHA1Digestsize(), GetSHA224Blocksize(), GetSHA224Digest(), GetSHA224Digestsize(), GetSHA256Blocksize(), GetSHA256Digest(), GetSHA256Digestsize(), GetSHA384Blocksize(), GetSHA384Digest(), GetSHA384Digestsize(), GetSHA512Blocksize(), GetSHA512Digest(), GetSHA512Digestsize(), CloneSplayTree(), DeleteNodeByValueFromSplayTree(), DeleteNodeFromSplayTree(), GetNextKeyInSplayTree(), GetNextValueInSplayTree(), GetValueFromSplayTree(), GetNumberOfNodesInSplayTree(), RemoveNodeByValueFromSplayTree(), RemoveNodeFromSplayTree(), ResetSplayTree(), ResetSplayTreeIterator(), CloneString(), CloneStringInfo(), CompareStringInfo(), ConfigureFileToStringInfo(), ConcatenateStringInfo(), DestroyStringInfo(), FileToString(), FileToStringInfo(), GetStringInfoCRC(), GetStringInfoDatum(), GetStringInfoLength(), GetStringInfoPath(), HexStringToStringInfo(), PrintStringInfo(), ResetStringInfo(), SetStringInfo(), SetStringInfoDatum(), SetStringInfoLength(), SetStringInfoPath(), SplitStringInfo(), StringToStringInfo(), DestroyTimerInfo(), DestroyTwofishInfo(), GetTwofishBlocksize(), SetTwofishKey(), AddPathToXMLTree(), DestroyXMLTree(), GetNextXMLTreeTag(), GetXMLTreeAttribute(), GetXMLTreeAttributes(), GetXMLTreeChild(), GetXMLTreeContent(), GetXMLTreeOrdered(), GetXMLTreePath(), GetXMLTreeProcessingInstructions(), GetXMLTreeSibling(), GetXMLTreeTag(), PruneTagFromXMLTree(), SetXMLTreeAttribute(), SetXMLTreeContent(), XMLTreeInfoToXML(), GetZIPChaos(), DestroyZIPInfo(), IncreaseZIP(), and RestoreZIP().