InvalidCryptoInitVector class: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ The <var>InvalidCryptoInitVector</var> exception class describes an exception associated with finding ... To produce an <var>InvalidCryptoInitVector</var> exceptio...")
 
m (add link to exception example)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
The <var>InvalidCryptoInitVector</var> exception class describes an exception associated with finding ...
The <var>InvalidCryptoInitVector</var> exception class describes an exception associated with finding an improper [https://en.wikipedia.org/wiki/Initialization_vector initialization vector] value.
   
   
To produce an <var>InvalidCryptoInitVector</var> exception yourself, you typically use a <var class="product">SOUL</var> <var>[[Exceptions#Throwing exceptions|Throw]]</var> statement with an <var>InvalidCryptoInitVector</var> <var>[[New (InvalidCryptoInitVector constructor)|New]]</var> constructor.  This statement must be issued from within a method, and it can only be caught by the code that calls the method. For example, the following statement throws an <var>InvalidCryptoInitVector</var> exception:
To produce an <var>InvalidCryptoInitVector</var> exception yourself, you typically use a <var class="product">SOUL</var> <var>[[Exceptions#Throwing exceptions|Throw]]</var> statement with an <var>InvalidCryptoInitVector</var> <var>[[New (InvalidCryptoInitVector constructor)|New]]</var> constructor.  This statement must be issued from within a method, and it can only be caught by the code that calls the method. For example, the following statement throws an <var>InvalidCryptoInitVector</var> exception:
<p class="code">throw %(InvalidCryptoInitVector):new
<p class="code">throw %(InvalidCryptoInitVector):new
</p>  
</p>  
For an outline of how you might use an exception in a function of your own, see this [[Get (HttpRequest function)#exception-eg|Get method example]].


==The InvalidCryptoInitVector methods==
==The InvalidCryptoInitVector methods==

Latest revision as of 18:37, 15 March 2016

The InvalidCryptoInitVector exception class describes an exception associated with finding an improper initialization vector value.

To produce an InvalidCryptoInitVector exception yourself, you typically use a SOUL Throw statement with an InvalidCryptoInitVector New constructor. This statement must be issued from within a method, and it can only be caught by the code that calls the method. For example, the following statement throws an InvalidCryptoInitVector exception:

throw %(InvalidCryptoInitVector):new

For an outline of how you might use an exception in a function of your own, see this Get method example.

The InvalidCryptoInitVector methods

The following are the available InvalidCryptoInitVector class methods.

MethodDescription
NewCreate a new InvalidCryptoInitVector object

The methods in the class are described in the subsections that follow. In addition:

New constructor

Create a new InvalidCryptoInitVector object (InvalidCryptoInitVector class)

This Constructor generates an instance of an InvalidCryptoInitVector exception. As shown below, the New method takes no arguments.

Syntax

%invalidCryptoInitVector = [%(InvalidCryptoInitVector):]New

Syntax terms

%InvalidCryptoInitVector A reference to an instance of an InvalidCryptoInitVector object.
[%(InvalidCryptoInitVector):] The class name in parentheses denotes a Constructor.