1 16 package org.apache.commons.collections; 17 18 31 public class BufferOverflowException extends RuntimeException { 32 33 34 private final Throwable throwable; 35 36 39 public BufferOverflowException() { 40 super(); 41 throwable = null; 42 } 43 44 49 public BufferOverflowException(String message) { 50 this(message, null); 51 } 52 53 59 public BufferOverflowException(String message, Throwable exception) { 60 super(message); 61 throwable = exception; 62 } 63 64 69 public final Throwable getCause() { 70 return throwable; 71 } 72 73 } 74 | Popular Tags |