public class BufferIntSizeError extends Error
Error:
One2OneChannelInt c = Channel.one2oneInt (new BufferInt (-42)); // must be >= 0 One2OneChannelInt c = Channel.one2oneInt (new OverFlowingBufferInt (-42)); // must be > 0 One2OneChannelInt c = Channel.one2oneInt (new OverWriteOldestBufferInt (-42)); // must be > 0 One2OneChannelInt c = Channel.one2oneInt (new OverWritingBufferInt (-42)); // must be > 0 One2OneChannelInt c = Channel.one2oneInt (new InfiniteBufferInt (-42)); // must be > 0Zero-buffered non-overwriting channels are, of course, the default channel semantics. The following constructions are all legal and equivalent:
One2OneChannelInt c = Channel.one2oneInt (); One2OneChannelInt c = Channel.one2oneInt (new ZeroBufferInt ()); // less efficient One2OneChannelInt c = Channel.one2oneInt (new BufferInt (0)); // less efficientNo action should be taken to catch BufferSizeError. Application code generating it is in error and needs correcting.
| Constructor and Description |
|---|
BufferIntSizeError(String s)
Constructs a new
BufferIntSizeError with the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BufferIntSizeError(String s)
BufferIntSizeError with the specified detail message.s - the detail message.Copyright © 1996–2015. All rights reserved.