Top Description Fields Constructors Methods
org.conscrypt

pack-priv final Class ShortBufferWithoutStackTraceException

extends ShortBufferException
Class Inheritance
Annotations
@Internal
Imports
javax.crypto.ShortBufferException

This class basically does the same thing the ShortBufferException class does except not filling in stack trace in the exception to save CPU-time for it in an environment where this can be thrown many times. e.g. OpenJDK 8.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public synchronized Throwable
fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

Fills in the execution stack trace.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.crypto.ShortBufferException.serialVersionUID.

Constructor Detail

ShortBufferWithoutStackTraceExceptionback to summary
public ShortBufferWithoutStackTraceException()
ShortBufferWithoutStackTraceExceptionback to summary
public ShortBufferWithoutStackTraceException(String msg)

Method Detail

fillInStackTraceback to summary
public synchronized Throwable fillInStackTrace()

Overrides java.lang.Throwable.fillInStackTrace.

Doc from java.lang.Throwable.fillInStackTrace.

Fills in the execution stack trace. This method records within this Throwable object information about the current state of the stack frames for the current thread.

If the stack trace of this Throwable is not writable, calling this method has no effect.

Returns:Throwable

a reference to this Throwable instance.

Annotations
@Override