Lines Matching refs:GTException

88      * @throws GTException
95 throw new GTException("parameter hashAlgorithm must not be empty");
99 throw new GTException("parameter hashAlgorithm must be an instance of GTHashAlgorithm");
109 …throw new GTException("Unable to init GTDataHash with algorithm: {$this->hashAlgorithm->getName()}…
115 throw new GTException("hash must be an array of bytes");
119 … throw new GTException("hash length does not match with that defined in hash algorithm");
131 * @throws GTException
138 throw new GTException("hash calculator already closed");
142 throw new GTException("parameter bytes must not be empty");
148 throw new GTException("hash update failed with unknown error");
155 * @throws GTException
162 throw new GTException("hash calculator already closed");
166 throw new GTException("parameter file must not be empty");
170 throw new GTException("file must be a file");
174 throw new GTException("file must be readable");
178 throw new GTException("file must not be 0 bytes");
184 throw new GTException("hash updateFile failed with unknown error");
192 * @throws GTException
199 throw new GTException("hash calculator already closed");
203 throw new GTException("parameter handle must not be empty");
207 throw new GTException("parameter handle must be a resource");
213 throw new GTException("hash updateStream failed with unknown error");
311 * @throws GTException
318 throw new GTException("parameter dataImprint must not be empty");
322 throw new GTException("parameter dataImprint must be an array of bytes");
326 throw new GTException("parameter dataImprint must be at least 2 bytes long");