Changeset 13
- Timestamp:
- 06/27/06 17:10:28 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tpm4java/trunk/src/de/datenzone/tpm4java/TPMException.java
r11 r13 24 24 25 25 /** 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. 28 32 * 29 33 * The error codes are from … … 426 430 427 431 /** 428 * @return The f ill response to the failed from the tpm.432 * @return The full response to the failed from the tpm. 429 433 */ 430 434 public ByteBuffer getReply() { tpm4java/trunk/src/de/datenzone/tpm4java/TSSException.java
r11 r13 22 22 23 23 /** 24 * Everybody wants its one Exception... It just looks nice than `throws25 * 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). 26 26 * 27 27 * @author Martin Hermanowski. … … 39 39 */ 40 40 public TSSException(String message) { 41 super(message);42 }43 44 public TSSException(String message, int returnCode) {45 41 super(message); 46 42 }
