Class StreamException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.alachisoft.ncache.runtime.exceptions.CacheException
-
- com.alachisoft.ncache.runtime.exceptions.StreamException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
StreamCloseException,StreamInvalidLockException
public class StreamException extends CacheException
StreamException is thrown if any error occurs during operation on CacheStream.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StreamException()Constructs anStreamExceptionwithnullas its error detail message.StreamException(int errorCode, java.lang.String reason, java.lang.String stackTrace)StreamException(java.lang.String s)Constructs anStreamExceptionwith the specified detail message.StreamException(java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class com.alachisoft.ncache.runtime.exceptions.CacheException
getErrorCode, printStackTrace, setErrorCode
-
-
-
-
Constructor Detail
-
StreamException
public StreamException()
Constructs anStreamExceptionwithnullas its error detail message.
-
StreamException
public StreamException(java.lang.String s)
Constructs anStreamExceptionwith the specified detail message. The error message stringscan later be retrieved by themethod of classThrowable.getMessage()java.lang.Throwable.- Parameters:
s- the detail message.
-
StreamException
public StreamException(java.lang.Throwable cause)
-
StreamException
public StreamException(int errorCode, java.lang.String reason, java.lang.String stackTrace)
-
-