< prev index next >

src/java.base/share/classes/java/lang/IllegalCallerException.java

Print this page




  55      * cause.
  56      *
  57      * @param  message the detail message (can be null)
  58      * @param  cause the cause (can be null)
  59      */
  60     public IllegalCallerException(String message, Throwable cause) {
  61         super(message, cause);
  62     }
  63 
  64     /**
  65      * Constructs a new exception with the specified cause and a detail
  66      * message of {@code (cause==null ? null : cause.toString())} (which
  67      * typically contains the class and detail message of {@code cause}).
  68      *
  69      * @param  cause the cause (can be null)
  70      */
  71     public IllegalCallerException(Throwable cause) {
  72         super(cause);
  73     }
  74 

  75     static final long serialVersionUID = -2349421918363102232L;
  76 }


  55      * cause.
  56      *
  57      * @param  message the detail message (can be null)
  58      * @param  cause the cause (can be null)
  59      */
  60     public IllegalCallerException(String message, Throwable cause) {
  61         super(message, cause);
  62     }
  63 
  64     /**
  65      * Constructs a new exception with the specified cause and a detail
  66      * message of {@code (cause==null ? null : cause.toString())} (which
  67      * typically contains the class and detail message of {@code cause}).
  68      *
  69      * @param  cause the cause (can be null)
  70      */
  71     public IllegalCallerException(Throwable cause) {
  72         super(cause);
  73     }
  74 
  75     @java.io.Serial
  76     static final long serialVersionUID = -2349421918363102232L;
  77 }
< prev index next >