Esempio n. 1
0
 @Override
 public Object clone() throws CloneNotSupportedException {
   try {
     return super.clone();
   } catch (CloneNotSupportedException e) {
     throw new InternalError(e.getMessage());
   }
 }
Esempio n. 2
0
 public Liner clone() {
   try {
     return (Liner) super.clone();
   } catch (CloneNotSupportedException ex) {
     InternalError error = new InternalError(ex.getMessage());
     error.initCause(ex);
     throw error;
   }
 }