mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
26 lines
560 B
ActionScript
26 lines
560 B
ActionScript
package org.osmf.events
|
|
{
|
|
public class MediaError extends Error
|
|
{
|
|
|
|
private var _detail:String;
|
|
|
|
public function MediaError(param1:int, param2:String = null)
|
|
{
|
|
super(getMessageForErrorID(param1),param1);
|
|
_detail = param2;
|
|
}
|
|
|
|
public function get detail() : String
|
|
{
|
|
return _detail;
|
|
}
|
|
|
|
protected function getMessageForErrorID(param1:int) : String
|
|
{
|
|
return MediaErrorCodes.getMessageForErrorID(param1);
|
|
}
|
|
}
|
|
}
|
|
|