public INTERNAL invalidBtcConverterName(Throwable t, Object arg0) { return invalidBtcConverterName(CompletionStatus.COMPLETED_NO, t, arg0); }
public INTERNAL invalidBtcConverterName(Object arg0) { return invalidBtcConverterName(CompletionStatus.COMPLETED_NO, null, arg0); }
public INTERNAL invalidBtcConverterName(CompletionStatus cs, Object arg0) { return invalidBtcConverterName(cs, null, arg0); }
public INTERNAL invalidBtcConverterName(CompletionStatus cs, Object arg0) { return invalidBtcConverterName(cs, null, arg0); }
public INTERNAL invalidBtcConverterName(Throwable t, Object arg0) { return invalidBtcConverterName(CompletionStatus.COMPLETED_NO, t, arg0); }
public INTERNAL invalidBtcConverterName(Object arg0) { return invalidBtcConverterName(CompletionStatus.COMPLETED_NO, null, arg0); }
/** * Utility method to find a CharsetDecoder in the cache or create a new one if necessary. Throws an INTERNAL if * the code set is unknown. */ protected CharsetDecoder getConverter(String javaCodeSetName) { CharsetDecoder result = null; try { result = cache.getByteToCharConverter(javaCodeSetName); if (result == null) { Charset tmpCharset = Charset.forName(javaCodeSetName); result = tmpCharset.newDecoder(); cache.setConverter(javaCodeSetName, result); } } catch (IllegalCharsetNameException icne) { // This can only happen if one of our charset entries has // an illegal name. throw wrapper.invalidBtcConverterName(icne, javaCodeSetName); } return result; } }
/** * Utility method to find a CharsetDecoder in the cache or create a new one if necessary. Throws an INTERNAL if * the code set is unknown. */ protected CharsetDecoder getConverter(String javaCodeSetName) { CharsetDecoder result = null; try { result = cache.getByteToCharConverter(javaCodeSetName); if (result == null) { Charset tmpCharset = Charset.forName(javaCodeSetName); result = tmpCharset.newDecoder(); cache.setConverter(javaCodeSetName, result); } } catch (IllegalCharsetNameException icne) { // This can only happen if one of our charset entries has // an illegal name. throw wrapper.invalidBtcConverterName(icne, javaCodeSetName); } return result; } }