public class LeaseMapException extends LeaseException
Modifier and Type | Field and Description |
---|---|
Map<Lease,Throwable> |
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(AtomicSerial.GetArg arg)
AtomicSerial constructor
|
LeaseMapException(String s,
Map<Lease,Throwable> 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(AtomicSerial.GetArg arg) throws IOException
arg
- atomic deserialization parameterIOException
- if there are I/O errors while reading from GetArg's
underlying InputStream
InvalidObjectException
- if object invariants aren't satisfied.public LeaseMapException(String s, Map<Lease,Throwable> 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 © 2016–2018 The Apache Software Foundation. All rights reserved.