phpDocumentor base
[ class tree: base ] [ index: base ] [ all elements ]

Class: WindActionException

Source Location: /base/WindActionException.php

Class WindActionException

Class Overview

Action操作异常

action操作异常,继承自WindException. 该异常将被系统cache并交给相应的错误处理方法进行后续错误处理.该异常必须包含一个WindErrorMessage类型的属性用于保管'错误信息'以及'用于错误处理的句柄'. 在WindController中当sendMessage时默认抛出该异常.

Located in /base/WindActionException.php [line 14]

Exception
   |
   --WindException
      |
      --WindActionException
Author(s): Information Tags:
Version:  $Id: WindActionException.php 2973 2011-10-15 19:22:48Z yishuo $
Copyright:  ©2003-2103 phpwind.com
License:  http://www.windframework.com

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Method Summary
WindActionException   __construct()  
WindErrorMessage   getError()  
void   messageMapper()  
void   setError()  

[ Top ]
Methods
Constructor __construct  [line 24]

  WindActionException __construct( WindErrorMessage|string $error, [int $code = 0]  )

Parameters:
WindErrorMessage|string   $error:  异常描述或者错误处理类
int   $code:  错误码

API Tags:
Access:  public


Redefinition of:
WindException::__construct()
异常构造函数

[ Top ]
getError  [line 43]

  WindErrorMessage getError( )


API Tags:
Access:  public


[ Top ]
messageMapper  [line 35]

  void messageMapper( $code  )

Parameters:
   $code: 

API Tags:
Access:  protected


Redefinition of:
WindException::messageMapper()
自定义异常号的对应异常信息

[ Top ]
setError  [line 50]

  void setError( WindErrorMessage $error  )

Parameters:
WindErrorMessage   $error: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 30 Mar 2012 11:43:28 +0800 by phpDocumentor 1.4.4