eu.planets_project.services.utils
Class DigestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.planets_project.services.utils.DigestException
- All Implemented Interfaces:
- Serializable
public class DigestException
- extends RuntimeException
A RuntimeException
thrown when there is unexpected errors
computing a digest.
For example when you checksum a fixed String
with
a well known digest such as MD5, errors a re not expected.
It is also used to hide explicit code to handle NoSuchAlgorithmException
s
in cases where you request algorithms required by the
Java CryptoSpec. Fx
MD5
and SHA-1
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DigestException
public DigestException(String message)
- Parameters:
message
- The message
DigestException
public DigestException(String message,
Throwable t)
- Parameters:
message
- The messaget
- The throwable
Copyright © 2013 Open Planets Foundation. All Rights Reserved.