com.alibaba.druid.wall.violation
Class SyntaxErrorViolation

java.lang.Object
  extended by com.alibaba.druid.wall.violation.SyntaxErrorViolation
All Implemented Interfaces:
Violation

public class SyntaxErrorViolation
extends Object
implements Violation


Constructor Summary
SyntaxErrorViolation(Exception exception, String sql)
           
 
Method Summary
 Exception getException()
           
 String getSql()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyntaxErrorViolation

public SyntaxErrorViolation(Exception exception,
                            String sql)
Method Detail

toString

public String toString()
Specified by:
toString in interface Violation
Overrides:
toString in class Object

getException

public Exception getException()

getSql

public String getSql()


Copyright © 2012 Alibaba Group. All Rights Reserved.