Files
AuthCenterConsoleApp/src/java/awt/datatransfer/UnsupportedFlavorException.java

10 lines
301 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 配套异常类新建UnsupportedFlavorException.java
package java.awt.datatransfer;
public class UnsupportedFlavorException extends Exception {
public UnsupportedFlavorException(DataFlavor flavor) {
super(flavor != null ? flavor.getMimeType() : "Unsupported data flavor");
}
}