1 23 24 25 package com.sun.jdo.api.persistence.enhancer.util; 26 27 28 32 public class UserException 33 extends RuntimeException  34 { 35 38 public final Throwable nested; 39 40 43 public UserException() 44 { 45 this.nested = null; 46 } 47 48 52 public UserException(String msg) 53 { 54 super(msg); 55 this.nested = null; 56 } 57 58 62 public UserException(Throwable nested) 63 { 64 super(nested.toString()); 65 this.nested = nested; 66 } 67 68 72 public UserException(String msg, Throwable nested) 73 { 74 super(msg); 75 this.nested = nested; 76 } 77 } 78 | Popular Tags |