1 19 20 package org.openide.util.io; 21 22 import java.io.IOException ; 23 24 31 public class OperationException extends IOException { 32 static final long serialVersionUID = 8389141975137998729L; 33 34 35 private Exception ex; 36 37 39 public OperationException(Exception ex) { 40 this.ex = ex; 41 } 42 43 45 public Exception getException() { 46 return ex; 47 } 48 49 51 public String getMessage() { 52 return ex.getMessage(); 53 } 54 55 public Throwable getCause() { 56 return ex; 57 } 58 59 } 60 | Popular Tags |