public class InvalidMidiDataException extends 异常
InvalidMidiDataException
表明不适当的MIDI数据中。这通常意味着数据和本身是无效的,从MIDI规范的角度。一个例子将是一个不确定的状态字节。然而,异常可能只是意味着数据在使用的上下文中无效,或者给出的数据无法解析或使用的对象是无效的。例如,一个文件的读者可能无法解析2型MIDI文件,即使是在MIDI规范定义的格式。
Constructor and Description |
---|
InvalidMidiDataException()
构建与它的错误详细信息
null 一
InvalidMidiDataException 。
|
InvalidMidiDataException(String message)
构建一个指定详细信息的
InvalidMidiDataException 。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidMidiDataException()
null
一
InvalidMidiDataException
。
public InvalidMidiDataException(String message)
InvalidMidiDataException
指定详细信息。
message
-显示错误详细信息的字符串
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.