257258259260261262263264265266
Class failoverJoinpointClass = loadClass(loader, className); if (failoverJoinpointClass != null) { return failoverJoinpointClass; } } throw new WrappedRuntimeException(e); } catch (Exception e) { throw new WrappedRuntimeException(e); } }
585960616263646566
m_writer = AsmHelper.newClassWriter(false); } else { return false; } } catch (IOException e) { throw new WrappedRuntimeException(e); } return true; }
129130131132133134135136137138139
byte[] bytes = customAttribute.getBytes(); try { methodAttributes.add(new UnbrokenObjectInputStream(new ByteArrayInputStream(bytes)) .readObject()); } catch (Exception e) { throw new WrappedRuntimeException(e); } } current = current.next; } }
172173174175176177178179180181182
214215216217218219220221222223224
byte[] bytes = customAttribute.getBytes(); try { fieldAttributes.add(new UnbrokenObjectInputStream(new ByteArrayInputStream(bytes)) .readObject()); } catch (Exception e) { throw new WrappedRuntimeException(e); } } current = current.next; } }
107108109110111112113114115
m_reader = new ClassReader(classAsStream); } catch (Exception e) { throw new ClassNotFoundException(m_className, e); } } catch (Exception e) { throw new WrappedRuntimeException(e); } return true; }
206207208209210211212213
} FileOutputStream os = new FileOutputStream(destDir + File.separator + m_classFileName); os.write(writer.toByteArray()); os.close(); } catch (IOException e) { throw new WrappedRuntimeException(e); } }
223224225226227228229230
ByteArrayOutputStream baos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(baos); oos.writeObject(attribute); return baos.toByteArray(); } catch (IOException e) { throw new WrappedRuntimeException(e); } }
309310311312313314315316317
Class aspectClass; try { aspectClass = loader.loadClass(aspectClassName); } catch (Exception e) { e.printStackTrace(); throw new WrappedRuntimeException(e); } return aspectClass; }
154155156157158159160161162163
JoinPointManager.reset(klazz); } catch (Throwable t) { throw new WrappedRuntimeException(t); } }