Class LeaseMapException

All Implemented Interfaces:
Serializable

public class LeaseMapException extends LeaseException
An exception generated when a LeaseMap renewAll or cancelAll call generates exceptions on one or more leases in the map.
Since:
1.0
Author:
Sun Microsystems, Inc.
See Also:
  • Field Details

    • exceptionMap

      public Map 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 Details

    • LeaseMapException

      public LeaseMapException(String s, Map exceptionMap)
      Constructs a LeaseMapException for the specified map with a detail message.
      Parameters:
      s - the detail message
      exceptionMap - the Map object on which the exception occurred
      Throws:
      NullPointerException - if exceptionMap is null or contains a null key or a null value
      IllegalArgumentException - if exceptionMap contains any key which is not an instance of Lease, or any value which is not an instance of Throwable