001    
002    /*
003     * Copyright (C) 2011 Archie L. Cobbs. All rights reserved.
004     *
005     * $Id: BufferOverflowException.java 2 2011-02-05 21:51:43Z archie.cobbs $
006     */
007    
008    package org.dellroad.stuff.io;
009    
010    import java.io.IOException;
011    
012    /**
013     * Thrown by {@link AsyncOutputStream} when its buffer overflows.
014     */
015    @SuppressWarnings("serial")
016    public class BufferOverflowException extends IOException {
017    
018        public BufferOverflowException() {
019        }
020    
021        public BufferOverflowException(String message) {
022            super(message);
023        }
024    }
025