com.alibaba.druid.wall.violation
类 SyntaxErrorViolation

java.lang.Object
  继承者 com.alibaba.druid.wall.violation.SyntaxErrorViolation
所有已实现的接口:
Violation

public class SyntaxErrorViolation
extends Object
implements Violation


构造方法摘要
SyntaxErrorViolation(Exception exception, String sql)
           
 
方法摘要
 int getErrorCode()
           
 Exception getException()
           
 String getMessage()
           
 String getSql()
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

SyntaxErrorViolation

public SyntaxErrorViolation(Exception exception,
                            String sql)
方法详细信息

toString

public String toString()
指定者:
接口 Violation 中的 toString
覆盖:
Object 中的 toString

getException

public Exception getException()

getSql

public String getSql()

getMessage

public String getMessage()
指定者:
接口 Violation 中的 getMessage

getErrorCode

public int getErrorCode()
指定者:
接口 Violation 中的 getErrorCode


Copyright © 2013-2014 Alibaba Group. All Rights Reserved.