InvalidCryptoData class: Difference between revisions
mNo edit summary |
m (→New constructor: no arguments) |
||
Line 19: | Line 19: | ||
{{Template:InvalidCryptoData:New subtitle}} | {{Template:InvalidCryptoData:New subtitle}} | ||
This <var>Constructor</var> generates an instance of an <var>[[ | This <var>Constructor</var> generates an instance of an <var>[[InvalidCryptoData_class|InvalidCryptoData]]</var> exception. As shown below, the <var>New</var> method takes no arguments. | ||
===Syntax=== | ===Syntax=== |
Revision as of 00:21, 9 March 2016
The InvalidCryptoData exception class describes an exception associated with finding improper object data, for example, an incorrect length.
To produce an InvalidCryptoData exception yourself, you typically use a SOUL Throw statement with an InvalidCryptoData 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 InvalidCryptoData exception:
throw %(InvalidCryptoData):new
The InvalidCryptoData methods
The following are the available InvalidCryptoData class methods.
Method | Description |
---|---|
New | Create a new InvalidCryptoData object |
The methods in the class are described in the subsections that follow. In addition:
- Notation conventions for methods has information about the conventions followed.
- InvalidCryptoData methods syntax is a single page that contains the syntax diagrams of all the methods in the class.
New constructor
Create a new InvalidCryptoData object (InvalidCryptoData class)
This Constructor generates an instance of an InvalidCryptoData exception. As shown below, the New method takes no arguments.
Syntax
%invalidCryptoData = [%(InvalidCryptoData):]New
Syntax terms
%invalidCryptoData | A reference to an instance of an InvalidCryptoData object. |
---|---|
[%(InvalidCryptoData):] | The class name in parentheses denotes a Constructor. |