public class LeaseMapException extends LeaseException
Modifier and Type | Field and Description |
---|---|
Map<Lease,Exception> |
exceptionMap
A Map from Lease to Exception, containing each lease that failed to
renew or cancel, and the exception that resulted from that lease's
renewal or cancel attempt.
|
Constructor and Description |
---|
LeaseMapException(String s,
Map<Lease,Exception> exceptionMap)
Constructs a LeaseMapException for the specified map with a
detail message.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LeaseMapException(String s, Map<Lease,Exception> exceptionMap)
s
- the detail messageexceptionMap
- the Map object on which the exception
occurredNullPointerException
- if exceptionMap
is
null
or contains a null
key
or a null
valueIllegalArgumentException
- if exceptionMap
contains any key which is not an instance of
Lease
, or any value which is not an instance of
Throwable
public String getMessage()
getMessage
in class Throwable
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.