1 16 package org.apache.commons.collections; 17 18 import java.util.NoSuchElementException ; 19 20 34 public class BufferUnderflowException extends NoSuchElementException { 35 36 37 private final Throwable throwable; 38 39 42 public BufferUnderflowException() { 43 super(); 44 throwable = null; 45 } 46 47 52 public BufferUnderflowException(String message) { 53 this(message, null); 54 } 55 56 62 public BufferUnderflowException(String message, Throwable exception) { 63 super(message); 64 throwable = exception; 65 } 66 67 72 public final Throwable getCause() { 73 return throwable; 74 } 75 76 } 77 | Popular Tags |