@Override public final SSLHandshakeException invalidHandshakeRecord() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), invalidHandshakeRecord$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String multiRecordSSLHandshake = "ELY04010: Initial SSL/TLS handshake spans multiple records";
@Override public final SSLHandshakeException multiRecordSSLHandshake() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), multiRecordSSLHandshake$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String expectedClientHello = "UT000143: Expected \"client hello\" record";
@Override public final SSLHandshakeException notHandshakeRecord() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), notHandshakeRecord$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String invalidHandshakeRecord = "ELY04009: Initial SSL/TLS handshake record is invalid";
@Override public final SSLHandshakeException multiRecordSSLHandshake() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), multiRecordSSLHandshake$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String expectedClientHello = "ELY04011: Expected \"client hello\" record";
@Override public final SSLHandshakeException unsupportedSslRecord() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), unsupportedSslRecord$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String invalidTlsExt = "ELY04013: Invalid TLS extension data";
@Override public final SSLHandshakeException noContextForSslConnection() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), noContextForSslConnection$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String sslClosed = "ELY04007: SSL channel is closed";
@Override public final SSLHandshakeException invalidHandshakeRecord() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), invalidHandshakeRecord$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String multiRecordSSLHandshake = "UT000142: Initial SSL/TLS handshake spans multiple records";
@Override public final SSLHandshakeException expectedServerHello() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), expectedServerHello$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String tooManyRedirects = "UT000145: Too many redirects";
@Override public final SSLHandshakeException expectedClientHello() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), expectedClientHello$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String unsupportedSslRecord = "ELY04012: Unsupported SSL/TLS record";
@Override public final SSLHandshakeException notHandshakeRecord() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), notHandshakeRecord$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String invalidHandshakeRecord = "UT000141: Initial SSL/TLS handshake record is invalid";
@Override public final SSLHandshakeException expectedClientHello() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), expectedClientHello$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String expectedServerHello = "UT000144: Expected server hello";
@Override public final SSLHandshakeException expectedClientHello() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), expectedClientHello$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String expectedServerHello = "UT000144: Expected server hello";
@Override public final SSLHandshakeException notHandshakeRecord() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), notHandshakeRecord$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String invalidHandshakeRecord = "UT000141: Initial SSL/TLS handshake record is invalid";
@Override public final SSLHandshakeException multiRecordSSLHandshake() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), multiRecordSSLHandshake$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String expectedClientHello = "UT000143: Expected \"client hello\" record";
@Override public final SSLHandshakeException expectedServerHello() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), expectedServerHello$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String tooManyRedirects = "UT000145: Too many redirects";
@Override public final SSLHandshakeException invalidHandshakeRecord() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), invalidHandshakeRecord$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String multiRecordSSLHandshake = "UT000142: Initial SSL/TLS handshake spans multiple records";
@Override public final SSLHandshakeException notHandshakeRecord() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), notHandshakeRecord$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String invalidHandshakeRecord = "ELY04009: Initial SSL/TLS handshake record is invalid";
@Override public final SSLHandshakeException multiRecordSSLHandshake() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), multiRecordSSLHandshake$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String expectedClientHello = "ELY04011: Expected \"client hello\" record";
@Override public final SSLHandshakeException noContextForSslConnection() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), noContextForSslConnection$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String sslClosed = "ELY04007: SSL channel is closed";
@Override public final SSLHandshakeException expectedClientHello() { final SSLHandshakeException result = new SSLHandshakeException(String.format(getLoggingLocale(), expectedClientHello$str())); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String unsupportedSslRecord = "ELY04012: Unsupported SSL/TLS record";