edu.harvard.deas.hyperenc
Class BlockMissingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.harvard.deas.hyperenc.EncryptionException
edu.harvard.deas.hyperenc.BlockMissingException
- All Implemented Interfaces:
- Serializable
public class BlockMissingException
- extends EncryptionException
Thrown when a hyper-encryption operation cannot proceed because a required
block is not available.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
BlockMissingException
public BlockMissingException(List<Integer> missingIDs,
String message)
- Constructs a new BlockMissingException.
- Parameters:
missingIDs
- a list of one or more of the missing IDs that caused this exception
to be thrownmessage
- the detail message
BlockMissingException
public BlockMissingException(List<Integer> missingIDs,
String message,
Throwable cause)
- Constructs a new BlockMissingException.
- Parameters:
missingIDs
- a list of one or more of the missing IDs that caused this exception
to be thrownmessage
- the detail messagecause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or unknown.)
getMissingIDList
public List<Integer> getMissingIDList()
- Returns an unmodifiable copy of the list of missing block IDs.
- Returns:
- the list of missing block IDs