Changeset 13

Show
Ignore:
Timestamp:
06/27/06 17:10:28 (4 years ago)
Author:
martin
Message:

updates javadocs for TPM/TSSException

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tpm4java/trunk/src/de/datenzone/tpm4java/TPMException.java

    r11 r13  
    2424 
    2525/** 
    26  * Everybody wants its one Exception... It just looks nice than `throws 
    27  * Exception' - or did I understand something wrong? 
     26 * TPMException wraps error code from the TPM, when a command could not be 
     27 * finished correctly. 
     28 *  
     29 * The TPM has a lot of error codes, and TPMException provides not only the 
     30 * names for these error code, but will print the reason for this code in human 
     31 * readable form. 
    2832 *  
    2933 * The error codes are from 
     
    426430 
    427431    /** 
    428      * @return The fill response to the failed from the tpm. 
     432     * @return The full response to the failed from the tpm. 
    429433     */ 
    430434    public ByteBuffer getReply() { 
  • tpm4java/trunk/src/de/datenzone/tpm4java/TSSException.java

    r11 r13  
    2222 
    2323/** 
    24  * Everybody wants its one Exception... It just looks nice than `throws 
    25  * Exception' - or did I understand something wrong? 
     24 * TSSException will be thrown by the TSS implementation, when something is not 
     25 * the way it should be (eg. hashes not being exectly 20 bytes long). 
    2626 *  
    2727 * @author Martin Hermanowski. 
     
    3939     */ 
    4040    public TSSException(String message) { 
    41         super(message); 
    42     } 
    43  
    44     public TSSException(String message, int returnCode) { 
    4541        super(message); 
    4642    }