Package org.duracloud.common.error
Class ManifestVerifyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.duracloud.common.error.DuraCloudCheckedException
-
- org.duracloud.common.error.ManifestVerifyException
-
- All Implemented Interfaces:
Serializable,MessageFormattable
public class ManifestVerifyException extends DuraCloudCheckedException
- Author:
- Andrew Woods Date: Oct 24, 2009
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManifestVerifyException.ErrorTypeError types of specific to verifying checksum manifests.
-
Constructor Summary
Constructors Constructor Description ManifestVerifyException(String msg)ManifestVerifyException(String file0, String file1, int count0, int count1)ManifestVerifyException(String file0, String file1, List<String> badChksumPairs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManifestVerifyException.ErrorTypegetErrorType()StringgetKey()This method returns the message key used as an index in the ResourceBundle.-
Methods inherited from class org.duracloud.common.error.DuraCloudCheckedException
getArgs, getFormattedMessage, setArgs
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ManifestVerifyException
public ManifestVerifyException(String msg)
- Parameters:
msg- General message of error.
-
ManifestVerifyException
public ManifestVerifyException(String file0, String file1, int count0, int count1)
- Parameters:
file0- Filename of first manifest file.file1- Filename of second manifest file.count0- Number of entries in first manifest file.count1- Number of entries in second manifest file.
-
-
Method Detail
-
getKey
public String getKey()
Description copied from interface:MessageFormattableThis method returns the message key used as an index in the ResourceBundle.- Specified by:
getKeyin interfaceMessageFormattable- Overrides:
getKeyin classDuraCloudCheckedException- Returns:
- key
-
getErrorType
public ManifestVerifyException.ErrorType getErrorType()
-
-